That is bad, you should have controlled yourself. It is hard earned money and you lost in all in one night. It must have wrecked you. Well, you learned your lesson the hard way. I hope you will not do it again. Gamble if you can't resist, but put a limit on it. Don't gamble all you earned in one night.
He gambles because he wants to take big amount but sadly he losses. There is really nothing wrong with gambling as long as you only bet what you can afford to loss and bet according to your goal. Don't rush in gambling cause there is always another day to play.
and he loses because he don't have knowledge and experience about playing, anyone in any game lose if he is new to there and whenever he get some experience by spending some time, he start to win there.