This is a very bad habit in gambling, using your last cash to gamble. I hope you learnt your lesson, it can be so frustrating. If not greed nothing will make us use our last cash to gamble. I did same in my year two, it was a weekend, I used my feeding funds to bet believing to multiply it to sort out other things, it turn out negative, I lost all the funds and I was stranded and hungry, I had to visit a friend to stay in his place for the weekend just to eat, I didn't tell him what happened to me, in it was so embarrassing and meaningless to discuss such to my friend. Ever since then, have try to bet with any money that's will not land me to borrow or ask for help. I stake with my spare cash and not my last cash anymore.
Experiencing a bad experience yourself is the most valuable lesson. You may not see a change if you don't go through that experience yourself. Especially if the result of betting with your last money is a win, you may keep repeating that situation to try to save your weekend from hunger. Every gambler has experienced a difficult situation from gambling; after all, no gambler is free from loss.