Are you familiar with Stoicism? It’s a philosophical school of thought that at a very basic level maintains that one should focus on their own virtues because it is the only thing they can actually control. Here’s a comedic take on it. So when life gives you lemons, you accept the lemons. You don’t get mad at the lemons or at life for giving them to you because you can’t control that. You can control how you react to the lemons.
To an extent, aspects of the stoic approach are popular among athletes. Players can’t control the referees, the unlucky bounce, or even the play of their teammates.