Right after Jesus healed a man the Jewish leaders persecuted him for telling a man to work by picking up his mat. Jesus has something of lengthy discussion with them. Here is part of it.
"You search the Scriptures because you think they give you eternal life. But the Scriptures point to Me! Yet you refuse to come to Me to receive this life. "Your approval means nothing to Me, because I know you don’t have God’s love within you. For I have come to you in My Father’s name, and you have rejected Me. Yet if others come in their own name, you gladly welcome them. No wonder you can’t believe! For you gladly honor each other, but you don’t care about the honor that comes from the One who alone is God.
(Joh 5:39-44 NLT)