what year did joseph live in egypt