And according to any mussar book, it's also one of the hardest traits to uproot.
So any steps we can take in the direction toward humility and away from gaavah are really good.
Gratitude toward God is one of the most effective ways to immediately & enjoyably deflate gaavah.
And the Kav Hayashar 7 Stanza 12 offers us inspiration and a prayer to improve in this all-important area:
עַל כֵּן צָרִיךְ הָאָדָם לְהִתְפַּלֵּל לִזְכּוֹת לְמִדָּה זוֹ, כְּמוֹ שֶׁכָּתַב הֶחָסִיד בַּסֵּפֶר "שַׁלְהֶבֶת", לוֹמַר אַחַר הַתְּפִלָּה קֹדֶם "יִהְיוּ לְרָצוֹן אִמְרֵי פִי": רִבּוֹנוֹ שֶׁל עוֹלָם, זַכֵּנִי לְמִדַּת עֲנָוָה וּלְמִדַּת הַכְנָעָה, כְּדֵי שֶׁאֶהְיֶה מְקֻבָּל וּמְרֻצֶּה לָעָם. וְאַחַר כָּךְ יֹאמַר: "יִהְיוּ לְרָצוֹן וְכוּ'". וּבֶאֱמֶת שֶׁצָּרִיךְ הָאָדָם לְהִתְגַּבֵּר בִּתְפִלָּתוֹ בִּבְכִי וְתַחֲנוּנִים לִפְנֵי הַקָּדוֹשׁ בָּרוּךְ הוּא, שֶׁיָּסִיר מִמֶּנּוּ מִדַּת הַגַּאֲוָה וְיִדְבַּק בְּמִדַּת הָעֲנָוָה, כִּי הָרֹב בַּעֲלֵי גַּאֲוָה מֵתִים בַּחֲצִי יְמֵיהֶם. וְהָעִנְיָן, בַּעֲבוּר שֶׁזֶּהוּ בְּוַדַּאי כָּל הַמִּתְגָּאֶה הוּא שָׂנאוּי בְּעֵינֵי הַבְּרִיּוֹת, כִּי זֶה הוּא עִנְיָן רַע בְּעֵינֵיהֶם הַמִּנְהָג שֶׁל בַּעַל גַּאֲוָה, וּמַמְשִׁיךְ עָלָיו שִׂנְאַת הַבְּרִיּוֹת, וְעַל יְדֵי זֶה יָכוֹל לְהוֹצִיא אוֹתוֹ מִן הָעוֹלָם, וְגַם אִם עָלְתָה לוֹ תַּאֲוָתוֹ לִהְיוֹת רֹאשׁ הַקָּהָל אוֹ מוֹרֵה צֶדֶק לַעֲדָתוֹ, אַךְ בַּעֲבוּר גַּאֲוָתוֹ כֻּלָּם נֶחְשָׁבִים לְאַיִן כְּנֶגְדּוֹ, וּמְזַלְזֵל בִּכְבוֹד הַבְּרִיּוֹת, אֲשֶׁר גַּם זֶה הוּא סִבָּה לְקִצּוּר יָמָיו וּשְׁנוֹתָיו, רַחֲמָנָא לִצְלַן.
Therefore a person must pray that he merit this trait. The pious author of the sefer Shalheves (i.e., the Shlah) writes that at the end of the Amidah, before reciting, “May the words of my mouth be acceptable, etc.,” one should say this meditation:
“Master of the Universe, allow me to merit the traits of humility and contrition so that I will be acceptable and desirable to the people.” Afterwards, let him recite, “May the words, etc.”
In truth, a person should pray fervently to the Holy One Blessed Be He with tears and entreaties asking that He free him of arrogance and help him acquire humility.
For as a rule, arrogant people live out only half their years. The reason for this is that they are generally hated by others. This causes them to be removed from the world.
And even if such a person achieves his desire to become head of the community or rabbi of his congregation, his pride causes him to think of those under him as nothing and to belittle their honor. This is another factor in the shortening of his life span, may Heaven spare us.
Ribbono Shel Olam, zakeni l'middat anavah u'l'middat hachna'ah k'dei sheh aheyeh mekubelet u'mrutzah l'Am.