So, in essence, people can continue trading even if they don't make money because they have the goal of learning from losses. Many people who are good at trading used to lose a lot. But I do feel that trading can be addictive, even though we keep losing, and I'm also surprised by that. It could be that some people continue trading despite losing because they're addicted to trading.
Probably you heared from someone that it was possible to make consistent profit from trading, and that losses you faced were due to lack of experience and knowledge, so you kept trying again and again hoping to have finally understood how to make it right.
After all, it's not different from gambling. Newbies tend to believe it can be adopted as full time job or side hustle, and that losses are just part of the learning process until mastering the activity.
What happens is that there are some people who encourage trading, but they don't trade at all. Rather, they profit from referral comissions on exchanges and selling signals, tips or courses in closed groups for people interested in becoming traders.