"38 Then Jesus, deeply moved again, came to the tomb. It was a cave, and a stone lay against it. 39 Jesus said, “Take away the stone.” Martha, the sister of the dead man, said to him, “Lord, by this time there will be an odour, for he has been dead four days.” 40 Jesus said to her, “Did I not tell you that if you believed you would see the glory of God?” 41 So they took away the stone. And Jesus lifted up his eyes and said, “Father, I thank you that you have heard me. 42 I knew that you always hear me, but I said this on account of the people standing around, that they may believe that you sent me.”43 When he had said these things, he cried out with a loud voice, “Lazarus, come out.” 44 The man who had died came out, his hands and feet bound with linen strips, and his face wrapped with a cloth. Jesus said to them, “Unbind him, and let him go.”"
John 11:38-44
We should not miss the point and significance of our Lord's prayer in 41, 42. There is a sense in which He was risking His whole reputation publicly on this one miracle He was about to perform. It was as if He were saying to everyone in His hearing, 'Put Me to the test in what I am about to do now. If I cannot call Lazarus back from the dead, regard Me as an imposter. Pay no attention to what I've said or taught these past three years. I venture everything on this.' And He prayed deliberately. He did not need to pray in order to receive power for this, He knew in Himself that He could do it. The prayer was for the benefit of the bystanders.
Some commentators suggest that in 44 there is a miracle within a miracle. He that was dead came forth, bound hand and foot with grave clothes - but how could he come forth if he was bound hand and foot? Yet he did, in the same way as the paralysed man at Bethesda stood up on his feet, and the man with the withered hand stretched it out, at the command of Christ. This in itself is miracle. Then Jesus said, 'Loose him, and let him go'; and the loosing was the pragmatic proof to the onlookers that it was no apparition that they were seeing, or spiritist hallucination, but the Lazarus of Bethany whom they knew. They wound off the grave clothes and there he was, no longer decomposed, no longer putrefied, but made whole. The power and tyranny of death was completely vanquished and broken in him. The Prince of life had come.