I believe you've hit the nail on the head; gambling is very much appreciated when done within what you can afford and with the proper attitude. Unfortunately, there's nothing bad with experiencing fun through placing a bet, so long as you are able to afford losing the money and do so safely and responsibly. In reality, study have shown that gambling can be good for our psychological well-being if done in control.
It's the best feeling when you are about to watch your favorite sports and you're also putting a bet on them whichever is they are against with. I'm doing this mostly in esports/sports and it's so fun to watch when I know that I have bet on the right time. But if things go south and they're not performing well then it's easy to accept defeat for me and all I have to do is bet better on the next matches or games that I am also going to watch. The attitude is like that, move on when done and don't be too bitter with all of your losses because whether you like it or not, all of us will have that.
We will get pleasure, satisfaction and feeling of pride when we watch and bet on team that we really like or make as favorite, especially if we win then all the feelings I mentioned will really be felt perfectly.
However, the most important thing is that we must be able to accept that if failure occurs or the final result does not match what we expected, because the favorite team is not always able to achieve victory.
As gamblers, sports fans, we must be aware that there are many unexpected events such as surprises, which occasionally appear and make many people feel disappointed, but everything must be accepted well.
If what is bet on wins and always wins then there will be no poor people and there will be no bookies because in betting or matches there are wins and losses and all this happens according to the ability of the competing teams.
Moreover, feeling disappointment too deeply will not be able to change anything and will only leave sadness which might make us do stupid things such as trying to get another win and betting carelessly.