In the early 6th century Judah rebelled against Babylon and was destroyed (586 BCE). The royal court and the priests, prophets and scribes were taken into captivity in Babylon. There the exiles blamed their fate on disobedience to God and looked forward to a future when a penitent and purified people would be allowed to return to Jerusalem and rebuild the Temple.