Or alternatively, you can send all the traffic destined to google, into dev-null instead:
U=https://raw.githubusercontent.com/berthubert\
/googerteller/main/goog-prefixes.txt
for i in $(wget -qO - $U); do
ip route add unreach $i
done
...but you'd be surprised how many of seemingly unrelated places on the Internet would break without google.