Google is banned in China mainly because the Government is strict with the internet content. They have all the right to restrict, ban, or delete any applications and platforms that they think do not serve any interest of the state. And Google decided to quit giving access to China because of the cyberattack they got within the country which targeted the company itself and other companies.