One of the most powerful pieces of mental jiujitsu is to reframe negative feelings/experiences to learning that then leads to a specific set of actions.
You can’t control the misstep. But you can ensure a creative, constructive, and corrective response.