I'm pretty happy with https://oisd.nl. There's so StevenBlack's hosts file if you want something smaller.
Use them in pihole, or add to ublock origin in addition to the normal lists. I'm assuming you don't mean using it as a literal hosts file (which has severe performance problems with lookups on large files)
It's a lookup in a static text file, rather than a database which is optimized and structured for quickly querying an item from a list of millions of entries