Like many traditional anecdotes, the story uses a simple setting and recognizable character roles to establish expectations quickly. A car ride provides a small, enclosed scene. The convent marks the end of the shared journey. The return to the church creates the separate moment of discovery on which the ending depends.
The quoted verse belongs to the joke’s invented setup and should be understood as part of its wordplay, rather than as a reliable quotation from scripture. The humor relies on the audience accepting the reference long enough for the surprise to work. Its point is the gap between assumed knowledge and the meaning delivered by the final line.