"The Prince of Egypt" is an adaptation of the Biblical story of the Exodus. "When You Believe" is sung in the film by characters Tzipporah and Miriam, and a chorus of people departing from the slavery of Egypt to the Red Sea and the Promised Land. The protagonists of this ballad recall tough times that have caused them to question their own faith: they have prayed for many nights to God, but those prayers have seemed to remain unanswered, and now they wonder if their faith has been only a waste of time. Nevertheless, the main characters realize that although the times may be difficult, their faith should remain strong. As a bridge, a chorus of children sings excerpts of the Song of the Sea in Hebrew.