That is not true at all, but when you are a begginer, if you do not lose some money, you will never realize what you should not do next time to stop losing your money.
But yes, if you are not a begginer, and you keep losing money, just stop trading.
the failure in trading is essential, you just have to accept these mistakes and move forward