If the intention is unclean, the deed that follows from it will also be evil, even if it seems good.
or simply: