It's hit-and-miss, though. I see no rhyme and reason in which books they're interested in, and the prices.
Just the day before yesterday I took some cooking books in pristine condition to the library. They used to have a book-swapping box outside. It was gone.
I went in (not too thrilled with the prospect of lugging it all back home) and asked about it. No, they don't have it anymore. I can put my books in the "free section" inside.
I did that, the librarian walked by to take a look and snatched the books away. "They are good, I'll see whether we can use them for the library. Usually we only get books we throw away immediately."
By "getting ride of it" I assume you put it into a glass case on your office wall. I admit it does deserve such a place of pride.