Good point. And the company behind Android mainly wants to ensure they can get as much data from you as possible. You will never fully be able to disable the data upload to Google.
A primary requirement I've had over the past few years when purchasing a phone is whether it is supported by Lineageos. Less data is collected hopefully, without gapps installed.
Interesting how this seems to be the common belief, but AFAIK AOSP does not do this, while ironically Lineage uses Google for connectivity servers and fallback DNS.