Blocking by hostnames is a big part of adblocking, but if you want to really block all ads and also not break the Web, you need an in-browser tech to do things like element hiding, scriptlet injections, etc. Which cannot be done via host files.
Drives me bonkers sometimes when I forget to turn off