20 Then he prayed, "O God, my God, why have you brought this terrible thing on this widow who has opened her home to me? Why have you killed her son?" 21 Three times he stretched himself out full-length on the boy, praying with all his might, "God, my God, put breath back into this boy's body!" 22 God listened to Elijah's prayer and put breath back into his body - he was alive! 23 Elijah picked the boy up, carried him downstairs from the loft, and gave him to his mother. "Here's your son," said Elijah, "alive!"
Matthew Henry's Commentary on 1 Kings 17:20-23
Commentary on 1 Kings 17:17-24
(Read 1 Kings 17:17-24)
Neither faith nor obedience shut out afflictions and death. The child being dead, the mother spake to the prophet, rather to give vent to her sorrow, than in hope of relief. When God removes our comforts from us, he remembers our sins against us, perhaps the sins of our youth, though long since past. When God remembers our sins against us, he designs to teach us to remember them against ourselves, and to repent of them. Elijah's prayer was doubtless directed by the Holy Spirit. The child revived. See the power of prayer, and the power of Him who hears prayer.