If we're talking about real casino i agree with you - near casinos you can often see criminal groups of bandits and robbers, it's not safe. But if we're talking about online casinos - that's a great way to enjoy the game you love in a safest way.
In online their is high chance of getting the getting scam or some of the online sites can be easily rigged and you will never win and you cannot even do anything about it. So both have the pro's and con's of it. It is upto you how you take it.