Bismillahirrahmannirrahim, Assalamualaikum

As you guys know, I'm currently taking a driving lesson and will have a license soon. I thought it was going to be easy because you just use the clutch, brake and a gas. Yes I take the manual instead of auto because it's way safer. I think too deep lol.
When I attend all of the 7 classes, I was actually doing really great. Parked correctly, reversed perfectly but when the day for the test came, I failed. I repeat, I failed. It broke my heart into pieces since I've already told my mom and promise myself to get a job after I passed so I can drive to work but The Almighty truly have His own plan.
I kept thinking why did suddenly I parked carelessly? Why didn't my car parked in the parking lot perfectly as I did before? I questions myself a lot and of course I frequently asked Him to give me the answer because I can find none.
A week later while I was filling in my planner, I came across a page with a quote,
"Allah will make everything beautiful at the right place, at the right time, for the best reason. Always have faith in Allah."
I swear that's really hit me hard. I lost my words. I feel like the time stop ticking. He really gave me the answer. I flipped to a random page and saw another quote,
"If you want something in your life and you aren't praying Tahajjud for it, then in reality you don't really want it - Syaikh Yasir Qadhi"
Ya Allah i feel so bad. So bad for questions too much and didn't realize what I should exactly do. Sometimes it took a few days, weeks, months and even years for Him to give you the answers. Or maybe there's already an answers but you just couldn't figure them out.
Before I leave, I'd like to remind you that whenever you feel low, negative, give up etc. please have some reflection on yourself to think of the answers and build a close relationship between you & Him/God no matter what your religion is because in the end, we will only have Him/God by our side.
talk soon x