Google never really had any traction in China to start with, their search results were useless for Chinese content, so then they pretended to leave for some noble cause. Same with Amazon who tried for much longer until it gave up after decade.
https://gs.statcounter.com/press/google-gained-market-share-...
According Wikipedia and at least 2 different sources they quote, Google peaked in China at 29-35% and even that seems way too optimistic, if you ask anyone who used search in China back then or have been there. By my experience from years ago was Google search in Chinese language useless.