Why they think this, is because gaming takes away from their time with you. Well from a married person's perspective. Even if they were just going to watch some chick flick show, you being in a different room gaming means "no attention to her". It's how women's brains usually work, unfortunately. They don't think "well at least he isn't cheating, at least he is home safe, at least he isn't getting sloshed at the bar or a strip club.".
There is a way to make it work. It's called moderation, and ..... the fucking switch!
When its chick flick time, sit next to her and play on the damn switch. She won't complain as at least she is next to you. Save your gaming time for early mornings when she is still sleeping. I devote my entire Saturday and Sunday morning to console gaming, until she wakes up. I get an hour or two in during the week, and the rest is here and there on the switch.
Now all that is if you are already in a relationship. When you are not, and trying to score a babe, do not bring up gaming much. Maybe in passing and leave it there. She is right, women don't want to hear it. I know it sucks, but its true. As a married man in my 40s (been married 2x) and have had many many relationships and flings before that, I can tell you by experience. Make sure you present yourself as well rounded. Be yourself but don't bring up gaming or any hobby solely. Talk about something neutral that both sexes could enjoy. For me it was hiking and trails. Nature and animals. Show that you are a animal lover and listen. You will get some and be well on your way grasshopper.
Sidenote. Find a chick who has her own thing. Mine is into boardgames. Literally shelves and shelves and shelves of board games. So she gets new board games all the time. I don't ever say anything to her about it negatively, and guess what, since she has that hobby she doesn't say anything about my games collection or buying them, she even helps me find deals for used games... we go to retro stores together for this. She will only play old school 2d games, tetris and match 3, anything past gamecube she doesn't like. I got her a switch lite and she uses it for tetris, tetris99, tetris connected and pac man, lol.