in around 598 BC the Babylonians came to conquer the Jewish empire. Because the attack was unexpected, the Jews had to escape. They scattered all across the world. They didn't want to stop worshipping their god, so they continued studying by building their own synagogues.