Actually, it is okay to make gambling an escape from the problems you have in life because after all, as we often say, gambling is an entertainment activity, meaning that you can indeed make gambling a diversion from the problems you have to seek pleasure, but maybe I will say something that be careful with your decision, in the sense that you should not choose gambling as a place for entertainment while on the other hand you do not know about the various things that should not be done when you are involved in gambling, such as you who must really be able to control yourself and your emotions, but I think maybe you are a gambler who makes gambling an escape but you come with the right approach and mindset that in general you already know about how the casino works which knowledge you have because you want to learn it, that's good, my friend, and I hope you can maintain that understanding.
In fact, if there are problems, it is better to find a solution to them, rather than look for a way to avoid them. After gambling, these problems will not go away and you will again need to look for a way to distract yourself from them, and gambling in a state where you can be distracted by other problems is also not the best solution, being distracted by gambling does not mean completely forgetting about the problems.
Yes, I understand that it is best to find a solution to overcome the problems we are facing, it is much better and faster in solving problems, but I also understand that everyone who has problems definitely wants to find something to entertain themselves before or after they solve their problems, the point is the purpose of finding entertainment is to divert your mind from the complexity of the problems you are facing and it is something natural to do in order to find peace of mind.
You are right that after gambling the problem will not be solved, yes I also understand that, but regardless of what type of entertainment you choose, the point is when you have entertained yourself, won't your mind be calmer? of course and that is the goal which is peace of mind that will make it easier for us to make a decision to solve the problem.
Gambling is indeed not recommended as a place to divert yourself from problems because I also know that there is a possibility that in the end the idea will actually bring new problems, but everyone has their own rights in choosing friends, that's the problem, and that's the reason why I said earlier that if you choose gambling as a place to entertain yourself then make sure that you already know the consequences.