At the start of the pandemic when libraries were closed during lockdowns, the Internet Archive temporarily allowed users to loan books unrestricted (usually only a few people can check out a book at a time). Some book publishers took issue with this and sued them for mass copyright infringement and won. The Internet Archive is going to appeal the judgement.
If you buy a digital book you should rip it and share it.