Bow down: Joel Edgerton, seen here at The Great Gatsby film premiere in New York City on May 1, will play the pharaoh Ramses in Exodus