Most people do not find value or entertainment in knowledge or reading. So they don't want to go to the library because it's not really a source of entertainment for them. Gaming on the other hand, probably engages them a whole lot better.
While I agree that gaming is very engaging, if you visit a library you'll be caught off guard how many people are there every single day. Now I will acknowledge that many of the people at my local library are kids playing games on the library computers, however there are also lots of people that genuinely enjoy reading and the other activities hosted at the library.
You're being down voted for stating an unpopular truth.
As much as I might wish it wasn't the case, I still agree with what you said.
The public library where I live loans video games, so why not both? :-)