It is reported that Khālid b. Ma’dan – Allāh have mercy on him – said:
Whoever seeks praise by going against the truth, Allāh will throw it back upon him as blame, and whoever faces blame in order to conform to the truth, Allāh will return it as praise for him.

Al-Dhahabī, Siyar A’lām Al-Nubalā` 4:540.