Even though Google is underneath Alphabet, its own, more specific code of conduct remains largely the same, and it retains the "don't be evil" motto. And since most of Alphabet's employees work at Google, that means "don't be evil" is still very much alive and well in Mountain View.
It is just Alphabet that is dropping it.
I have a very small mind and must live with it. -- E. Dijkstra