"Don't Be Evil" is just the beginning. Here's the rest!
You seem to be unacquainted with the full text of Google's motto, of which "Don't Be Evil" comprise merely the first three words.
The FULL motto runs as follows "Don't be evil, and what we consider 'evil' is anything that negatively impacts our revenue, and you should not allow any laws or legal instruments to compel you to be evil, and insofar as any laws or legal instruments which negatively impinge on our revenue are, by definition, 'evil', it stands to reason that they not only need not be obeyed, they must be actively and enthusiastically contravened - preferably in ways which give us plausible deniability, but then again by means of our highly elaborated network of astroturf organizations, directly and indirectly suborned politicians, and bought-and-paid-for academicians and their tendentious and fraudulent publications and pronouncements - and much, much more because that's not nearly an exhaustive list, trust us!! - we hope to abolish all such laws and legal instruments and thereby bring into existence a world completely free of evil in the truest and fullest sense of the word - by which we mean a world wherein there will be nothing preventing us from maximizing our revenue and profits, at the expense of, well, just anyone at all. Always remember that we are not like Steve Jobs, whose narrowmindedness considers 'evil' to consist of competing with Apple and the iPhone because *we* here at Google have a universal outlook - what is good for Google is good for humanity and for all forms of intelligent life wherever in the universe they might happen to exist or will at some point in the future exist, and what is bad for Google, is bad for us all. Wanna buy some oxycontin? How about a bride from China or Russia?"
I hope that this clears things up for you, at least a bit.