There are two things that if you do them you will attain the good of this world and the hereafter; [They are] that you bear what you dislike if it is beloved to Allah and you leave what you like if it is disliked by Allah.
We should think of those who were famous for their good deeds or their bad deeds; did their fame raise them one single degree in the sight of Allah. Did it win them a reward that they had not already won by their actions during their life?