But Google is a different kind of company. Google was founded on a set of ethical and moral principles that go beyond the immediate business mission. As described in the IPO founders' letter [0], their objective is to do "good things for the world even if we forgo short-term gains".
You may be skeptical about this and see it as either naïveté or as a cynical ploy, but the drive to do the right thing independent from financial results is deeply ingrained in Google's culture.
So it should be no surprise that there's constant and vigorous debate at Google about what's right and wrong. Seems to be working pretty well for them [1].
[0] https://abc.xyz/investor/founders-letters/2004/ipo-letter.ht...
[1] https://seekingalpha.com/article/4165541-alphabet-q1-2018-ea...