Manonivarana Sutta

Translation by Bhikkhuni Uppalavanna "If someone restrains his mind when the need arises, By that, unpleasantness does not come to him. If his mind is always restrained, He is released from all unpleasantness."  "If the mind is not restrained always, It has not reached the highest good. Whenever demerit rises, Then and there restrain the mind."