The narrator fills in some of the "holes" in the plot. Stanley's father invented his cure for foot odor the day after the great-great-grandson of Elya Yelnats carried the great-great-great-grandson of Madame Zeroni up the mountain. Camp Green Lake was closed and the Warden, Ms. Walker, was forced to sell her family's land. The camp will soon be a Girl Scout camp. The suitcase contained some jewels and many valuable deeds and stocks. Stanley and Hector each received almost a million dollars from these finds. Stanley buys his family a house and Hector hires a private investigator to find his mother. The narrator speaks directly to the reader, saying that although the reader is sure to have more questions, a scene at the Yelnat's house will best explain Stanley and Hector's situation. Stanley and Hector watch a commercial in which Clyde Livingston advertises sploosh, Stanley's father's cure for foot odor. Clyde Livingston is at Stanley's house in person, watching the commercial as well. Hector sits with a woman who looks just like him. She sings him the same song that Madame Zeroni taught Elya Yelnats.
Once again, the history of Sam and his onion remedies explains events that occur in the present day. Stanley and Hector (Zero) avoid being bitten by the deadly yellow-spotted lizards because they have been eating nothing but onions for more than a week. This fact makes the lizards, which appear to be a menace, into a help for Stanley and Hector, successfully keeping the Warden away from them until Stanley's lawyer arrives to help them. The story of the lizards is another device that the author uses to suggest that fate has a hand in Stanley and Hector's story. Although Stanley's family has had bad luck for generations, all of the unlucky events have lined up to help Stanley and Hector in some way. This suggests that everything has happened for a reason and that instead of always being in the wrong place at the wrong time, perhaps Stanley has been in the right place at the right time.
When Stanley and Hector are given the freedom to leave Camp Green Lake, some of the other boys are liberated as well. Squid, who has always taunted Stanley about his correspondence with his mother, feels able to ask Stanley to help him contact his mom in order to apologize. Squid's meanness towards Stanley is really the result of insecurity and jealousy. The other boys also give up their jealous natures and seem genuinely happy for Stanley and Hector when they leave Camp Green Lake. This emotional release is mirrored by the rain that falls on the camp, which is a symbol that the curse of Green Lake is finally over. As Stanley is returned to his parents, so Hector is able to locate his mother. By caring about Hector himself, Stanley effectively enables him to find his family. The Warden and Mr. Pendanski thought that no one would care about Hector because, being mean people themselves, they underestimated the power of friendship. Just as in a fable or fairy-tale, there are many morals at the end of Holes. Fate is shown to be a powerful force, friendship and family is proven to be an important role in everyone's lives, the destructive power of meanness and cruelty is demonstrated, and the importance of loyalty and fulfilling promises is emphasized. By linking three separate stories that occur in different time periods, the narrator also shows how all actions lead to reactions and that history is an important force in everyone's life.