While he was saying these things, a woman from the crowd raised her voice and said to him: Blessed is the womb that brought you, and the breasts that you suckled. 28 And he said, Blessed are those who hear the word of God and keep it. Luke 11: 27-28 King James Version (KJV)

Imagen source
Consider for a moment that you are the son or daughter of the president of your nation. Of course, this position will give you great privileges and benefits, which is not bad, but something that is a great blessing. However, when it comes to comparing the earthly with the spiritual, it is necessary to heed God's advice so as not to lose the true blessing, which in the end is what matters to a Christian.
A woman among the crowd that surrounded Jesus, wanted to make it a great privilege to have a close relationship with Jesus in the human, she wanted to show that the mother of Jesus was privileged to be the mother of someone who was endowed with divine grace. However, Jesus puts things in their place and replies: "Before, blessed are those who hear the word of God and keep it."
Jesus wanted to tell the woman that while it was a privilege to have a human relationship with him, it was much better to have a close and intimate relationship with God through obedience to his word.
The word of God puts us on a spiritual level of greater honor, because it allows us to have intimacy with God, which is much better than having an empty relationship with God if we do not obey his word.