> They don't keep every book though.
In France they do! And other countries too I think. The French national library is also scanning everything (or trying at least) including copyrighted material (but you can’t access it except if you are a researcher and from their own physical place last I checked)