Millions of factors come into play for everything in your life. But we frequently decide that events occur because of just one or two main things. We can easily think that we could have had a different outcome if just one factor changed. Maybe that’s true.
Though it may be more complex than that. Adjusting one thing could change many other things too.
You are unlikely to ever know how different things could have been or how close you really were to the outcome you wanted. Just keep going and enjoy the game.