It was narrated from Abu Sa’eed Al-Khudri that the Prophet ﷺ said: "Whoever wants to be heard of, Allah will make him heard of, and whoever wants to be seen, Allah will show him (ie, make known to the people his true motives and intentions)".
This hadith also encourages us to have humility in all aspects of life; even if we are successful or well-known among people, we must remember that it was only through the grace of Allah that this was possible. We must remain humble and grateful for all blessings bestowed upon us by Him alone. Furthermore, this hadith reminds us not to become too proud or boastful about our accomplishments as these traits are disliked by Him; instead, we should use any success as an opportunity to thank Him for His guidance and mercy towards us.