The most probable scenario is that the gambler ends up even poorer than before.
But to prevent that from happening, you have to limit your balance for playing, that is, if you have little money, it is best to limit the money for playing and not commit all your money. Personally, that is my strategy, and once things work out, well, otherwise what can happen is that once you lose, you can leave everything there, not bet any more, and that is the most correct thing to do, but you have to have the necessary discipline to not deposit any more money.