The mind becomes clear and serene when the qualities of the heart are cultivated: friendliness toward the joyful, compassion toward the suffering, happiness toward the pure, and impartiality toward the impure.