This is specifically attributed to King David. It’s a beautiful portrait of someone who has learned the hard way to dismiss ambition and pride.
David begins confessing what a might work God has done in his heart. He does not bristle at the idea of having to deal with ordinary people and mundane tasks. There is no one beneath his dignity to offer standard human courtesies. His head is not lost in great and burdensome cares of his throne. He remembers being just a shepherd boy.
Let’s not get lost on the question of weening. For all we can tell, Hebrew children were given much latitude to ween themselves when they felt ready. It has as much to do with a sense of security as physical health. The point here is that David no longer feels pulled by the insecurity of a man seeking to feed his ego. He’s ready to face the real world and doesn’t take himself too seriously.
This is what’s behind the very common message: Put your trust in God. Here is the king warning people not to put him on a pedestal. He would still be a shepherd boy were it not for God. And it was a shepherd boy the Lord wanted, so something in that role carries over to his reign as king. It was a shepherd boy’s faith that made ruling possible.