The celebration lasted eight days and was attended by "very great assembly [gathered] from the entrance of Hamath to the Brook of Egypt". The subsequent feast of Tabernacles extended the whole celebration to 14 days, before the people were "sent away to their homes". After the dedication, Solomon hears in a dream that God has heard his prayer, and God will continue to hear the prayers of the people of Israel if they adopt the four ways in which they could move God to action: humility, prayer, seeking his face, and turning from wicked ways. Conversely, if they turn aside and forsake God's commandments and worship other gods, then God will abandon the temple: "this house which I have sanctified for My name I will cast out of My sight". Plunder According to the biblical narrative, Solomon's Temple was plundered several times. In the fifth year of Rehoboam's reign (commonly dated to 926 BCE), Egyptian pharaoh Shishak (positively identified with Shoshenq I) took away treasures of the Temple and the king's house, as well as shields of gold that Solomon had made; Rehoboam replaced them with brass ones (; ). A century later, Jehoash, king of the northern Kingdom of Israel, advanced on Jerusalem, broke down a portion of the wall, and carried away the treasures of the Temple and the palace (). Later, when Ahaz of Judah was threatened by defeat at the hands of Rezin of Aram-Damascus and Pekah of Israel, he turned to king Tiglath-Pileser IV for help. To persuade him, he "took the silver and gold that was found in the house of Yahweh, and in the treasures of the king's house, and sent it for a present to the King of Assyria" (). At another critical juncture, Hezekiah cut off the gold from the doors and doorsteps of the temple he himself had overlaid, and gave it to king Sennacherib (). Joash's restoration and recount that King Joash and the priests of the temple organised a restoration programme funded from popular donations. The temple was restored to its original condition and further reinforced. Destruction by the Babylonians According to the Bible, the Temple was plundered by King Nebuchadnezzar II of the Neo-Babylonian Empire when the Babylonians attacked Jerusalem during the brief reign of Jehoiachin c. 598 BCE (). A decade later, Nebuchadnezzar again besieged Jerusalem and after 30 months finally breached the city walls in