Pihole is fine, and recommended - but you will need more than just that tool.
AdBlock Plus is another fine addition
and another to look at ghostery to help manage scripts.

I use all 3, but still use brave when sites detect those tools on firefox.