You know what they say, you win some and you lose some. This will serve as a lesson but at least your not that kind of man that would rage because of losing. Although for me, I would instantly stop if I at least see my profit from my gambling since I'm not a high roller. Some guys are only playing to waste time and some people are playing because they wanted to earn.
Nobody will want to gamble to waste his/her time, if they can predict the future and know they will lose, then they will not gamble. Many people or most people that gamble play because they want to earn. But in the process when someone has lost already, he needs to just stop gambling at that point because he will be filled with bad/poor mindset that will be temoting him to gam ke the more, and this is the period people are more vulnerable to losses.