Piracy isn't stealing if purchasing isn't ownership
Whenever I buy something, I start by trying to find a DRM-free version. ebooks.com has a whole section devoted to this (https://www.ebooks.com/en-us/drm-free/) and https://libro.fm exclusively sells DRM-free.Failing that, I mostly get things from my local library (via Libby). Conveniently, those all have weak DRM, so one could still build a personal library that way.