How can we keep from committing sin?

How can we keep from committing sin?  We can keep from committing sin by praying and by receiving the sacraments; by remembering that God is always with us; by recalling that our bodies are temples of the Holy Ghost; by keeping occupied with work or play; by promptly resisting the sources of sin within us;…