Not to commit any sin, to do good, and to purify one's mind, that is the teaching of (all) the Awakened.
Source documented
From the Dhammapada, Chapter XIV, verse 183, translated by F. Max Müller. The verse presents three foundations of Buddhist practice: avoiding wrongdoing, doing good and purifying the mind.
