Leave it to Allah.
Yes. Do your best and leave it to Allah.
Don’t think or worry about it afterwards. You did your best and that is what matters.
Allah judges based on intentions and irrespective of results. You will get reward or returns, in sha Allah.. Not always the way you want it but better as He knows what is best for you.
Don’t worry, don’t grieve.
If you are sincerely striving in His Path, if you are sincerely making sacrifices for His Sake, to earn His pleasure then it will never be wasted, in sha Allah.