Doing good deeds with true mind and sacrifice physically and mentally will lead to perfect good deeds. However, some who do good deeds with their own ego and let the impurities or Kiles dominate their own mind, when something affects their own individuality, this will diminish the quality of the perfect good deeds.