Undertaking and upholding the five precepts is based on the principle of non-harming (Pāli and ). The Pali Canon recommends one to compare oneself with others, and on the basis of that, not to hurt others. Compassion and a belief in karmic retribution form the foundation of the precepts. Undertaking the five precepts is part of regular lay devotional practice, both at home and at the local temple. However, the extent to which people keep them differs per region and time. They are sometimes referred to as the "śrāvakayāna precepts" in the Mahāyāna tradition, contrasting them with the "bodhisattva" precepts.