Trying to escape the Amazon enshittification, I have started to buy ebooks directly from the authors, or from more "reasonable" ebook shops. It's way less convenient, but at least I own those epub files instead of renting them.
I still use a Kindle Oasis, but at least it takes epubs now.
@doppioslash Yes. If I cannot download the ebook as a good old file and put it in my local folder and my Calibre library, I don’t buy it.