During a noisy space pirate attack, Bender—trying to find some peace and quiet in a torpedo tube—is launched into interstellar space beyond the reach of Fry and Leela. Because Bender was launched when the ship was already at its top speed, it is impossible to catch up with Bender, and he is doomed to hurtle through the interstellar void for eternity. After an asteroid crashes into Bender, a civilization of tiny humanoids ("Shrimpkins") grows on him and worships him as a god. At first, Bender enjoys his new-found status, picking a prophet named Malachi and having Malachi bring "The One Commandment" ("God Needs Booze") from "Up High" (Bender's head) to the Shrimpkins, who brew what for them are vast quantities of "Lordweiser" beer (as a robot, Bender requires alcohol to fuel his power cells and remain functional). The Shrimpkins begin praying for rain, sun, and wealth, and Bender attempts to heed their prayers—failing and unintentionally harming the Shrimpkins in the process (for example, when he tries to answer their prayer for more sunlight for the Shrimpkin's plantation, he causes a fire in the field, and his attempt to put out the fire by blowing accidentally flings some of them into space). Eventually, Malachi tells him that the Shrimpkins who migrated to his buttocks felt their prayers were unheeded and became atheists. The atheists threaten war with Bender's worshipers. Bender, horrified that his previous attempts to help the Shrimpkins so far only harmed them, refuses to intervene. The micro-civilization is destroyed when the Shrimpkin factions launch atomic weapons out of Bender's nuclear pile. Malachi remains faithful to Bender until his death and it devastates Bender when Malachi and his family are killed in the nuclear holocaust.
Weeping and alone Bender floats though space until he encounters a cosmic entity who may be God. During their time together, the entity tells Bender that it has had much the same experience with helping those who pray to it, and has long since given up directly interfering in its worshipers' lives. It now uses a "light touch", which it compares to safecracking, pickpocketing, or insurance fraud. Bender asks if he can be sent back to Earth, but the entity claims that it does not know where Earth is.
Meanwhile, Fry and Leela search for a way to locate Bender, which leads them to a sect of monks who use a radio telescope to search for God in space. Leela overpowers and locks up the pacifist monks and Fry spends the next three days searching for Bender. Leela eventually convinces him to give up the search, considering the odds of finding Bender astronomical. Fry spins the telescope's trackball and finds God by accident as he wishes out loud he had Bender back. The God entity hears him and flings Bender towards Earth, where he lands just outside of the monastery, causing Leela to exclaim that "This is, by a wide margin, the least likely thing that has ever happened." Bender quickly recounts his tale ("First I was God, then I met God!") and Fry boasts they "climbed a mountain and locked up some monks," which reminds Leela that they never let them out. Fry is reluctant to return to the monastery and claims that their God will surely help them. Bender tells them that God cannot be counted on for anything, and demands they rescue the monks themselves. The camera zooms out from Earth, past planets, through space, and back to God, who chuckles and repeats his earlier advice to Bender: "When you do things right, people won't be sure you've done anything at all."