Complex sentence: Thoth was the god credited with the invention of writing by the Ancient Egyptians, being the scribe of the gods and holding knowledge of scientific and moral laws.
Split into simpler sentences: Thoth was the god credited with the invention of writing by the ancient Egyptians. He was the scribe of the gods who held knowledge of scientific and moral laws.