Legends of Babylon and Egypt in relation to hebrew tradition