An elderly churchgoer watched in horror as the Texas church shooter slaughtered the woman next to her — but miraculously survived when a hero shot the gunman just in time to save her life.

Farida Brown, 73, was hit in the leg four times — but not critically — when madman Devin Kelley opened fire on the First Baptist Church in Sutherland Springs on Sunday, and she dropped to the floor along with other congregants to hide as he walked around finishing people off, a local CBS affiliate reports.

“She only saw the guy’s boots walking around everywhere and hear him go row to row shooting people that were down on the ground for safety and cover,” Brown’s son, David, told Kens 5.

When Kelley fired four bullets into the woman who’d been sitting on the pew to her left, Brown knew she was next, he said.

“The shooter was making his rounds and he ended up there and started shooting this lady multiple times. And the lady looked at my mom the whole time and my mom was looking at her, telling her, ‘it’s okay, you’re going to go to heaven,’” her son said.

“She knew it was her turn next to be shot and so she just started praying that God would take her soul to heaven.”

But just then, heroic church neighbor Stephen Willeford — who’d heard the gunfire and run over with his rifle — shot at Kelley from outside the church, and the maniac fled to his car.

Brown is now recovering in the hospital with bullet wounds and shrapnel in her legs, groin and left hip, the Washington Post reports.