> Google would penalize sites for serving different content to GoogleBot than to normal users
Listed under spam policies:
https://developers.google.com/search/docs/essentials/spam-po...
"Cloaking refers to the practice of presenting different content to users and search engines with the intent to manipulate search rankings and mislead users"
The top of the pages says sites that violate the policies may "rank lower or not appear in results at all".