If you have a spare room turn it into a library 😂
Bless them, they probably keep buying them because you’re being so gracious and grateful! I would just be honest with them (if you have that kind of relationship and feel that you can). I’d just say ‘we’re currently overflowing with books at the minute so could you take a break on them for a while so that we can get lots of use out of the ones we have as we don’t really have anywhere for any more to go!’ I don’t think they’ll be offended - I wouldn’t be anyway! They’ll understand you’re lacking storage space 😊
Send them my way 😂