Abiding by the precepts most certainly produces merits. Furthermore, there are Precept Protectors who prevent you from committing unwholesome deeds. When you uphold the precepts, you enjoy peace. But you need to continually stay away from detrimental deeds to retain such peace. When you breach the precepts, you become like dry wood ready to catch fire: you become unable to attain peace.
