You're right, this is very common among gamblers the habit to keep chasing after losses, and most time chasing after losses doesn't actually ends well to most gamblers.
Either they endup losing all their funds or they endup with a some little wins after countless losses during the process of their losses chased, it usually takes discipline to avoid such (one running after losses).
Chasing losses will end up badly if the gambler won't stop himself from this activity even if his funds is quite large. Because once you deplete your allocated budget for this activity, you will continue to replenish the funds from somewhere (other sources) even if the funds are for other aspect of your living. It is hard to be strict with yourself but you need to start observing the possible repercussions of your actions.
That is the source of all bad things that continues to happen once a gambler starts chasing his losses and not doing at all analyses of what and why he made the wrong choices of continuing to chase the lost money. If one sits down cold headed and thinks what could have be done better and what went worse, post analysis as they call it at our jobs this would be a nice thing to do for anyone feeling lonely and lost in such regard. You just need to want to stop chasing lost money and start doing a thoroughly analysis of what went wrong and what could you improve, how long can you improve meaning how long can you stay without gambling which in the long run will only make your life more better and it will be beneficial to you.