On my rooted Android tablet, I use AdAway with systemless host Magisk module as that is the true system-level option. Otherwise, the other options are to manually specify a DNS for your WiFi and mobile APN or to use a DNS app. Note that the DNS app will consume battery as it has to be activated for each redirect.
Otherwise, Adguard Home (or Pi-Hole) is best for home network adblocking.
Otherwise, Adguard Home (or Pi-Hole) is best for home network adblocking.