How to use "praying" in a sentence

Sentences

He compared it once more with the numbers on the electronic board, as if he were praying that he had made a mistake the first time.

He was sweating in his Gore-Tex suit, praying that Danny wouldn't let him down