Digitizing books is only a fractional solution. A library, or call it what you will, would still have to exist in order for people without resources to come in and access a computer.
On top of that, without libraries, where would derelict old men find a warm cozy place to come in out of the cold and read a newspaper?