At a
WNBA game which the
Simpson family are attending, the announcer offers a $50,000 prize for successfully shooting a half-court basket.
Ned Flanders kneels and prays before shooting the basket, and makes it. He declares he will donate the money, much to Homer's dismay, which is then doubled to $100,000 by the
Rich Texan. After Ned's car is blocked from leaving the parking lot, Homer witnesses the Flanders family being allowed to drive the
WienerMobile home instead. The following day, Homer asks Ned what his secret is, and Ned replies it is hard work, clean living, and prayer; since the first two would require effort on his part, Homer focuses on prayer, which he believes to work after achieving minor feats such as finding the
remote control and creating a new snack (
fudge-covered
bacon). After noticing his excessive praying for a plumber when a
water pipe leaks,
Marge tells Homer that he should not ask God to do everything for him, which he bluntly refuses to consider; as a result, the plumber fails to help, and the Simpson house is eventually destroyed. On a Sunday, Homer is walking towards the church and prays to God for a better house. Not looking where he is going, he falls into a shallow hole, and a bystanding
personal injury lawyer convinces Homer to sue the church. In court, the jury finds in Homer's favor and he receives the
deed to the church, after
Reverend Lovejoy admits he cannot pay the original sum of $1 million. Despite Marge's objections, he moves the family there and throws a house warming party. Meanwhile, Lovejoy sets up a temporary congregation at Barney's Bowlarama, but the sermon is a disaster, resulting in a disheartened Lovejoy leaving Springfield, much to Ned's dismay. Homer's party goes on for several days and the church becomes a bar and hangout for the townspeople, and Ned observes that they have violated all
Ten Commandments. As Marge worries that Homer is incurring God's wrath, a rainstorm begins and Homer is struck by lightning in the mouth (God's way of smiting him for his
blasphemy,
sacrilege and
heresy). The town begins to flood, and the townspeople flee to the roof of the church. Just as the townspeople are about to angrily advance on Homer for causing their impending doom, Reverend Lovejoy returns in a
helicopter and leads everyone in prayer, asking God to forgive them. The flood subsides, and afterwards
Lisa gives logical reasons for the cause of the events that had happened, with the storm and flood caused by bonfire and trees being cut down, but when questioned about why the rain suddenly stopped, Lisa just sarcastically suggests
Buddha. The camera then pans to God, Buddha and
Colonel Sanders watching from Heaven, rationalizing that the humans have suffered enough, with God asking for Colonel Sanders'
popcorn chicken. ==Production==