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. John 2:23-25
Jesus had a following of the mass number of people, who saw what miracles He did. In this chapter of John’s gospel we see Him turn water to wine and provides the host of the wedding the best wine ever drank by Adam’s race.
They were following Jesus because they saw the miracles that He did. Jesus knew their hearts and their thinking. Please note, that, He “Did not commit Himself to them”. Just because someone believes Jesus for a miracle does not mean they are delivered from their sin.
When one follows Jesus for salvation through faith in Him, we know He does miracles, and believe Him even when He does not do miracles for us. We do not just stop believing Him because we think He is not hearing our prayers, or doing what we had hoped He would do for us.
Jesus has committed Himself to those with that kind of faith. Faith that believes in the dark what has been revealed in the light.
There are many who profess to having followed Jesus at one time or another in their lives; only to fall away. You were drawn to Him because of a healing, or the need for healing, or a great need, and maybe it did not come as you had hoped. You were following the miracle, but not following the person of Jesus Christ.
Jesus died for your sins (our sins), He was buried, and He rose again. You need to trust solely in Him no matter what. The greatest miracle He does is change of heart, mind and life.