When something isn’t working out, your first tendency will be to change the goal.
But, when you keep changing the goal you’re not making progress. You’re constantly starting over again.
The better approach is to change the plan in order to reach the goal you already have.
Change the plan by trying a different approach, using different resources, getting different help or simply just pushing through the challenges that you are facing.