AdGuard for Safari or AdGuard for Mac?
AdGuard for Safari is totally free. But AdGuard for Mac is a solution that is even more effective than AG Safari extension. It can filter the traffic in all browsers and apps on your Mac; has an unlimited number of filter rules; provides a better filtering quality. You can find the full comparison here