Those who try to bring themselves up by putting others down inevitably accomplish the exact opposite.
Contrast this with the ḥadīth, 'Whoever humbles himself for Allah shall be raised up by Allah."
Praise others for their good, and overlook their mistakes as much as possible.