OK ......Luke 11:27-28 While Jesus was saying these things, one of the women in the crowd raised her voice and said to Him, Blessed is the womb that bore You and the breasts at which You nursed. But He said, On the contrary, blessed are those who hear the word of God and observe it.
Which wasn’t that hard to find and post so that you could have done it as well to support your assertion.
But I can see why you didn’t because it says no such thing as you claimed.
He did not say On the contrary”. He says, “yes, rather”. He approved of the praise while correcting it and directing it also to others who hear and keep the Word spiritually.