It is a National Crisis, the country is besieged by troubles, a plague, food shortages.
The recurring motif in Old Testament Law
In my studies of the book of Deuteronomy I thought a lot about ancient laws on slavery (circa 2000 BCE).