The first segment was written by Long. According to former staff writer Tom Martin, Long wanted the pig in the garden of Eden to have a "Tony British" accent. The pig was voiced by regular cast member Hank Azaria, who portrays Moe Szyslak among other characters in the series. The unicorn that digs a hole from the garden of Eden was portrayed by Tress MacNeille. The second segment was written by Doyle. The episode's third segment was written by Selman. When writing segments for trilogy episodes, the writing staff usually follow the stories they are based on, while putting "The Simpsons" characters in the original characters' place. With "Simpsons Bible Stories"' third segment, Selman stated that he wanted to go a "fresh new way" by instead writing a sequel to the story of David and Goliath. According to Scully, Selman had a very clear vision of how he wanted the segment to be, and Selman said that he wanted to make a "dog's breakfast" of movie clichés at the time.