First be, then do

Try first learning how to be happy, becoming happy, and then taking action towards a goal.
How you feel will remain consistent regardless of the outcome. It will change everything about how to pursue the goal; a “means justify the ends” sort of thing.
Freedom from the slavery of our own expectations is the ultimate freedom