23 Now when He was in Jerusalem at the Passover, during the feast, many believed in His name when they saw the signs which He did. 24 But Jesus did not commit Himself to them, because He knew all men, 25 and had no need that anyone should testify of man, for He knew what was in man. (John 2:23–25, NKJV)
The miracles of Jesus were signs to the people that He is from God. When they saw the signs He did, they believed in His name, or power. Without those miracles, there would have been no ability to know who Jesus was, or the power by which He spoke. By contrast, Jesus did not need signs to tell Him what was in the hearts of men and women. People did not need signs to confirm to Jesus who they were and what was in them. Being the Son of God, He knows the hearts of men. For example, He knew Nathaniel was an Israelite “in whom is no deceit” (John 1:47). He knows what is in your heart and mine (Hebrews 4:13). Let us be sure to entrust our souls to Him by faithfully honoring and obeying His authority as the Son of God.