Nevertheless, He wont let all your hardwork go to waste. God will surely help you if you to succeed in your undertaking when you work for it. If you failed, He must have planned something else for you. It can be a test, or whatever but surely all your effort will not go to waste as long as you hold your faith in him. we can never know about our future, all we can do is plan and do our best. the rest we leave it to god.
thats why dont stress much about our future. we can plan, we can work for our plan but the end say will always belong to the god. we can only work on the current issue and not the future nor the past.
remember folks, do our best, pray to the god, and have faith in Him no matter what happen.