The Ten Commandments is a 1956 epic film produced and directed by Cecil B. DeMille that dramatized the biblical story of the Exodus , in which the Hebrew-born Moses , an adopted Egyptian prince, becomes the deliverer of the Hebrew slaves .