The tedious ranting aside, this is way off base—and really about ebooks, not libraries.
Public libraries are not monolithic; they’re operated differently depending on where they are, and all are trying to navigate ebooks—which, by the way, make up only a small fraction of patron demand. Libraries also serve many functions besides lending books.
Public libraries are not being ‘enshittified’. They are more popular than ever (in the US, anyway), and ebooks are just another area where they’re navigating as best they can to offer patrons options.