He began as a Theban wind and fertility god and ended up the supreme deity, with most of Egypt's vast wealth dedicated to his temple. Around the second millennium B.C.E., Thebes and its cult of Amun grew so powerful that it threatened worship of the sun god, Ra. The two deities merged. Amun-Ra was hailed as a national god, the creator of the universe, the pharaoh's personal protector, and the god of war.