Plato said this quote

Piety, then, is that which is dear to the gods, and impiety is that which is not dear to them.