YHWH said to Joshua, "Today I will begin to exalt you in the sight of all Israel, that they may know that, as I was with Moses, so I will be with you."
Joshua 3:7
Humility is accepting who God has appointed you to be, including all that comes with it, being willing to take up the appropriate amount of space in the world, no more and no less than required to accomplish your mission. For God, not for yourself.
Leaders must be willing to be the focus of attention at times. Moses and Joshua were both humble men, but for the sake of the people and their mission, God glorified them.