The more you try, the farther you go. You might need to change your tactics, but only to reaffirm your strategy. Crying and wailing about mistakes is a waste of time. Energy is better used in finding alternative ways to solve problems.
Success is never guaranteed. Continuous learning and quick implementation is the closest you get to a guarantee. Most likely, you have many years ahead of you to move in your chosen direction. Let each day be a relentless search for truth and happiness.