I think there's some truth to that, though.
As a former video game addict, I look back on my time spent gaming as largely a waste. Most of it was a compulsion, like staying up until 4am re-queuing in Dota. Or grinding some armor piece.
But I don't look back with regret on any of my time spent reading. I think most people here know what I'm talking about. Why is that?
I can think of a few guesses. Books aren't in the same category of quick dopamine releases as most (not all) games. There's an element of imagination and mental world construction in the book with even the cheapest entertainment. You're exposed to different interpretations of the world, possibly integrating the thoughts of others against your own. It also helped me write and spell.
I'd certainly categorically rank books higher than games if I had to. Though I know if you told this to my 14-year-old self, I would've made you think I only played MathBlaster and games from The Learning Company all day. "What, you think learning is bad?!"
I'm reminded of when I was at my friend's house when he kicked his son off Youtube to go outside. He thought it was the most unfair thing in the world, happy to let you know how many good educational videos there were on Youtube even though he'd just done a four hour binge of screaming Minecraft vids.
I chuckled and thought of myself at about that age. At one point I spited my mother by bringing paper and pencils outside to draw instead of playing in the street. That'll show her! Well, I now have a drawing hobby that I still practice weekly in my 30s. :)