I would not count relaxation and having fun not as health benefits but that is the most important thing in gambling. It can be very frustating, especially if you have a bad streak but you need to have fun. Making a profit from gambling is only for the very few so I would never count on that.
One of the main reasons why few people can enjoy gambling is because few people can win in a row. However, if someone feels lonely and needs to pass the time, gambling can be a help. For a lonely person looking for companionship to pass the time, gambling may be one of the main ways to spend their free time. In this case, gambling can be an important option for improving their mental health.
That can be temporary, i agree that people in such situations often seek refuge in gambling. Sometimes those people even get lucky, and instead of just passing the time, they can actually make some money and if they happen to win several times in a row, then it's a total jackpot.