John 2:23-25 KJV
Now when he was in Jerusalem at the passover, in the feast day, many believed in his name, when they saw the miracles which he did.
But Jesus did not commit himself unto them, because he knew all men,
And needed not that any should testify of man: for he knew what was in man.
Gill
"he did not trust himself with these persons, who believed in him, on the basis of his miracles; he did not take them into the number of his associates; he did not admit them to intimacy with him; nor did he freely converse with them, or make any long stay among them; but soon withdrew himself from hence, and went into other parts of Judea, and into Galilee"
Poole
"Christ did not take all these seeming believers into his bosom, nor call them after him, nor maintain any familiar fellowship and communion with them; but made haste again into Galilee, till his time was come, knowing that in so public a place of danger they were not to be trusted; for being God blessed for ever, he had knowledge of the hearts of all men. "
Barnes
"The word translated “commit” here is the same which in Joh_2:23 is translated “believed.” It means to put “trust” or “confidence in.” Jesus did not put “trust” or “reliance” in them. He did not leave himself in their hands. He acted cautiously and prudently. The proper time for him to die had not come, and he secured his own safety. The reason why he did not commit himself to them is “that he knew all men.” He knew the “inconstancy” and “fickleness” of the multitude. He knew how easily they might be turned against him by the Jewish leaders, and how unsafe he would be if they should be moved to sedition and tumult."
AT Robertson Word Pictures
"The double use of pisteuō here is shown by Act_8:13 where Simon Magus “believed” (episteusen) and was baptized, but was unsaved. He merely believed that he wanted what Philip had. "
Vines Word Study
"…there is a kind of word-play between this and ἐπίστευσαν, believed, in the preceding verse. Wyc. reproduces it: “Jesus himself believed not himself to them.” He did not trust His person to them. Tynd., put not himself in their hands. “He had no faith in their faith” (Godet)."
Though they believed in His name, Jesus did not commit Himself to them because,
• He knew all men.
• He knew what was in man.
Believing in His name was not the effectual part but Christ's committing Himself to them. It is not in the saying of a prayer that a man is saved. Salvation is in Christ committing Himself to keep that which we have committed to Him.
Why should Jesus have faith in your faith?