That action is going to create a result which may or may not be the attainment of the goal. In fact, I would venture to say in most cases one misses the target. But that's not important. The important thing is figuring out what needs to change to reach the goal. There really are only two things that can change: action or the goal itself.
That is, you either change the actions you are taking to reach the goal, or you realize the goal itself needs to be changed.
Maybe you missed an important action step in attempting to reach your goal or you just didn't work quite as hard as you could have.
Alternatively, maybe the goal was unrealistic, something that even the best of us could not achieve given the circumstances presented to you at the present.
This is called the "Feedback Loop".
You see we live in a society where we are constantly being compared to other people (or we do it to ourselves). We are taught that not reaching our goals is a failure on our part. In fact one of the greatest scams on the planet is the "blame game" -- a never ending death spiral.
The Feedback Loop proves there is no such thing as failure, it's only feedback. When I realized that my life changed.