It is good for the righteous and good for his neighbor, and the opposite is also true

טוב לצדיק וטוב לשכנו ולהיפך
Shiurim in this topic
8320. Overcoming Failure, Avoiding Despair, and Strengthening the Battle with the Yetzer Hara התגברות על כישלון, הימנעות מיאוש, וחיזוק המלחמה עם היצר הרע