Traders have a different mindset because some traders will not spend time thinking about how to win again because their strategy is working as it is, but if they lose, they will spend a lot of time thinking about how their trade went wrong, how they can improve their strategy, and how to prevent it from happening again. It's like reflecting on your mistakes and learning from them; success and winnings can't teach you to think, but mistakes and losses can teach you how to overcome or find a solution to them.
Learning from defeat is a very useful experience, but it's also no guarantee of success on the next try.
Trading is a high-risk activity, as a result of which price volatility is very unpredictable, of course, the necessary adjustments are also very useful. Minimize risks, get rid of greed, control emotions and it will all help.
It's hard to say whether someone will be better off after the failure, but certainly something needs to improve. That's experience.