Right we are gambling just with a hope to win otherwise we are putting all the funds at stake through our wager so we should be prepared for the loss and don't fee too much bad about it afterwards.If you win that's your luck but be prepared for loss scenario always.
discussing preparing ourselves for possible losses when gambling is usually called risk management and this is important so that we can prepare a strategy so that how much money we lose will make us stop playing.
Loosing money always hurts, but that is why you only need to gamble with money that you are prepared to loose. If you go to Vegas, your mindset just needs to be on having fun and having a budget that you want to spend on gambling; but you always you need to be prepared to loose it all as that is what most likely will happen.
For people who only have a little money, it's better to postpone the desire to gamble, forcing yourself will only create great stress when you lose because you can't afford to lose that money. like my answer above, risk management is important in all of our online or offline gambling activities, professional gamblers apply this strategy.