The Ramchal explains that true anavah (humility) is not self-deprecation but rather a clear-eyed recognition that all one's gifts come from God — an 'hoda'ah' (acknowledgment) that is the ethical core of hod.
וְעוֹד אֲפִלּוּ לֹא יִהְיֶה בּוֹ חִסָּרוֹן אַחֵר, אֶלָּא הֱיוֹתוֹ בָּשָׂר וָדָם יְלוּד אִשָּׁה, דַּי לוֹ זֶה וְהוֹתֵר לִפְחִיתוּת וּגְרִיעוּת, עַד שֶׁלֹּא יֵאוֹת לוֹ הַהִנָּשֵׂא כְּלָל, כִּי הֲרֵי כָּל מַעֲלָה שֶׁהוּא מַשִּׂיג, אֵינוֹ אֶלָּא חֶסֶד אֵל עָלָיו, שֶׁרוֹצֶה לָחֹן אוֹתוֹ עִם הֱיוֹתוֹ מִצַּד טִבְעוֹ וְחָמְרִיּוּתוֹ שָׁפָל וְנִבְזֶה עַד מְאֹד עַל כֵּן אֵין לוֹ אֶלָּא לְהוֹדוֹת לְמִי שֶׁחֲנָנוֹ וְלִכָּנַע תָּמִיד יוֹתֵר.
They further said (Chulin 89a): "'It was not because you were greater than any people that the L-rd desired in you and chose you' (Devarim 7:7) - the Holy One, blessed be He, said to Israel, 'My sons, I desire you because even when I bestow greatness upon you, you humble yourselves before Me. I bestowed greatness upon Avraham, yet he said to Me, 'I am but dust and ashes' (Gen.18:27); Upon Moses and Aharon, yet they said: 'And we are nothing' (Ex.16:7); upon David, yet he said: 'I am but a worm and no man' (Tehilim 22:7)"