I've been puzzled reading previous discussions about Safari where people acted as if it doesn't have good ad-blocking, just because the brand name extension they're familiar with wasn't available. There has been very good ad-blocking available on Safari for a long time (both macOS and iOS) using for example AdGuard.
See https://github.com/gorhill/uBlock/wiki/uBlock-Origin-works-b... for some examples of things you can't do without those APIs.