Making sound decisions while gambling requires a clear mind and emotional control. Playing while angry, upset, annoyed, or overwhelmed can result in poor judgment and bad decisions. It's also important to remember that each game is unique, so don't get too wrapped up in one particular conclusion. I've also had similar experience with gambling when angry, I used to have this habit of gambling whenever I have a fight with my wife but whenever I indulge in gambling to calm my nerves, I always end up losing more because my emotions are always clouded and influences my decisions.
That's right, indeed gambling should be done with clear thinking, because otherwise what will happen is careless actions that trigger emotions, while gambling done with emotions will only speed up defeat. and it can also cause other bigger problems. As you said, playing while angry or emotional will only bring problems. In this way, of course, we will take actions that are not considered beforehand, and what often happens is that the end result is not acceptable, leading to actions that carry big risks, such as chasing losses or winnings.
Gambling can also affect our thinking, or our nerves, where if that happens, those of us who gamble will be bolder in taking big risk actions. In my opinion, gambling with the aim of calming the mind is not possible, because the result of gambling, which is most likely to be a loss, could actually increase our annoyance.