Keep your intentions good and inshallah you shall be rewarded even if things don’t work out as you hoped.
The person will be rewarded for his or her good and bad deeds according to the following saying of the Prophet Muhammad : Your Lord, Who is blessed and exalted, is most merciful. If someone intends to do a good deed but does not do it, a good deed will be recorded for him. And if he does do it, (a reward of) ten to seven hundred or many more times (the reward of the good deed), will be recorded for him. And if someone intends to do a bad deed but does not do it, a good deed will be recorded for him. And if he does do it, a bad deed will be recorded against him or God will wipe it out.
Inshallah I shall try to post more often.