Obviously, a casino should never be seen as a money-making option but as an entertainment option. Walk in with a set budget you are happy to lose and don’t gamble beyond that. Most will allow you to set a limit and they won’t let you buy chips beyond that even if you tried.
Drinks are very cheap even in high cost of living places so if you can control your gambling (which is more difficult than you imagine - speaking from experience here - that’s how casinos make their money) you can get relatively cheap entertainment. They’re also open until very late (some are 24/7) which is a nice perk.