The holes you dig can always be filled.
A boy named Stanley Yelnats tells a story about how he has to go to a juvenile detention facility in the desert because a judge wants him to learn a lesson about stealing. It turns out the camp makes Stanley dig holes for a few months to learn his lesson. He digs with a group of kids on a dried lake directed by a crazy person they call the Warden. Later on in the book he becomes friends with a kid named Hector and Stanley teaches Hector to read and write. Hector ends up running away from the camp because he is being bullied by everyone at the camp. Stanley runs away from the camp too to save Hector and they find refuge on a mountain for about a month. They end up sneaking back into the camp because they know where to find treasure buried. Stanley's lawyer shows up when he found the treasure and gets him out of the detention facility. It turns out that he was falsely accused of stealing. He gets to keep the treasure and his Dad makes an invention that prevents foot odor. In the end they live happily ever after.
The themes of this novel were injustice, never giving up, and friendship. Injustice because he was falsely accused of stealing. Stanley never gave up the whole entire story and kept going because he knew he didn't do anything wrong. Finally, friendship because he makes new friends at the camp that help keep him alive.