It is generally accepted that some elements of the texts of the Hebrew Bible have precedents in earlier (Bronze Age) Ancient Near Eastern religions and mythology, especially Mesopotamia (see Panbabylonianism), but to a lesser extent also Ancient Egyptian. For instance, certain material from the Book of Proverbs appears to derive from the Instruction of Amenemope. Some authors claim that the religion of the ancient kingdom of Judah was an amalgamation of local Canaanite traditions. and that when Jerusalem was a Jebusite city its tutelary deity was Tsedek. These Canaanite traditions which laid influence upon Israelite and ultimately ancient Jewish religion were in turn influenced by older Mesopotamian and possibly also Egyptian traditions.