One sect believed a dragon swallowed failed souls
A Gnostic sect pictured Leviathan as a dragon curled around the world. It marked a divide between a lower realm ruled by supernatural rulers and God. Souls that failed to pass through the heavens were swallowed and returned in animal bodies.