That’s probably true, I would expect libraries not be very interested in obsolete technical books.
However, I image many of the books people have don’t match that description. And in my experience libraries (especially school libraries) are happy to take them.