From Torah to Headlines
(א) וְאֵ֙לֶּה֙ הַמִּשְׁפָּטִ֔ים אֲשֶׁ֥ר תָּשִׂ֖ים לִפְנֵיהֶֽם׃

(1) These are the rules that you shall set before them:

After the ten divine imperatives, couched in absolute terms and addressed to each Israelite in the second-person singular, we have a series of miscellaneous laws formulated casuistically (i.e., according to hypothetical case: "Should a man do X,..."). This collection of laws, which make up chapter 21 through chapter 23, is conventionally called the Book of the Covenant, in accordance with the phrase used in 24:7...

Robert Alter

(כב) וְכִֽי־יִנָּצ֣וּ אֲנָשִׁ֗ים וְנָ֨גְפ֜וּ אִשָּׁ֤ה הָרָה֙ וְיָצְא֣וּ יְלָדֶ֔יהָ וְלֹ֥א יִהְיֶ֖ה אָס֑וֹן עָנ֣וֹשׁ יֵעָנֵ֗שׁ כַּֽאֲשֶׁ֨ר יָשִׁ֤ית עָלָיו֙ בַּ֣עַל הָֽאִשָּׁ֔ה וְנָתַ֖ן בִּפְלִלִֽים׃ (כג) וְאִם־אָס֖וֹן יִהְיֶ֑ה וְנָתַתָּ֥ה נֶ֖פֶשׁ תַּ֥חַת נָֽפֶשׁ׃ (כד) עַ֚יִן תַּ֣חַת עַ֔יִן שֵׁ֖ן תַּ֣חַת שֵׁ֑ן יָ֚ד תַּ֣חַת יָ֔ד רֶ֖גֶל תַּ֥חַת רָֽגֶל׃ (כה) כְּוִיָּה֙ תַּ֣חַת כְּוִיָּ֔ה פֶּ֖צַע תַּ֣חַת פָּ֑צַע חַבּוּרָ֕ה תַּ֖חַת חַבּוּרָֽה׃ (ס)
(22) When men fight, and one of them pushes a pregnant woman and a miscarriage results, but no other damage ensues, the one responsible shall be fined according as the woman’s husband may exact from him, the payment to be based on reckoning. (23) But if other damage ensues, the penalty shall be life for life, (24) eye for eye, tooth for tooth, hand for hand, foot for foot, (25) burn for burn, wound for wound, bruise for bruise.
(כח) וְכִֽי־יִגַּ֨ח שׁ֥וֹר אֶת־אִ֛ישׁ א֥וֹ אֶת־אִשָּׁ֖ה וָמֵ֑ת סָק֨וֹל יִסָּקֵ֜ל הַשּׁ֗וֹר וְלֹ֤א יֵאָכֵל֙ אֶת־בְּשָׂר֔וֹ וּבַ֥עַל הַשּׁ֖וֹר נָקִֽי׃ (כט) וְאִ֡ם שׁוֹר֩ נַגָּ֨ח ה֜וּא מִתְּמֹ֣ל שִׁלְשֹׁ֗ם וְהוּעַ֤ד בִּבְעָלָיו֙ וְלֹ֣א יִשְׁמְרֶ֔נּוּ וְהֵמִ֥ית אִ֖ישׁ א֣וֹ אִשָּׁ֑ה הַשּׁוֹר֙ יִסָּקֵ֔ל וְגַם־בְּעָלָ֖יו יוּמָֽת׃
(28) When an ox gores a man or a woman to death, the ox shall be stoned and its flesh shall not be eaten, but the owner of the ox is not to be punished. (29) If, however, that ox has been in the habit of goring, and its owner, though warned, has failed to guard it, and it kills a man or a woman—the ox shall be stoned and its owner, too, shall be put to death.
שור האצטדין אינו חייב מיתה שנאמר (שמות כא, כח) כי יגח ולא שיגיחוהו:
If a stadium [ha’itztadin] ox, i.e., one that is trained to fight in a stadium, gores and kills a person, it is not liable to be put to death, as it is stated: “And if an ox gores a man or a woman” (Exodus 21:28). This is referring only to an ox that gores on its own initiative, but not to the case of an ox where others induced it to gore. Therefore, the owner of a stadium ox, which is trained to gore, is exempt from liability if it does.
דבי חזקיה ורבי יוסי הגלילי תנא אמר קרא (שמות כא, כט) והמית איש או אשה השוה הכתוב אשה לאיש לכל מיתות שבתורה
The school of Ḥizkiyya and Rabbi Yosei HaGelili taught: The verse states with regard to liability in a case where one’s ox kills a person: “And it killed a man or a woman” (Exodus 21:29). The verse thereby equates a woman with a man with regard to all killings in the Torah, i.e., the liability incurred is the same whether the person killed was a man or a woman.
(ד) כִּ֤י יַבְעֶר־אִישׁ֙ שָׂדֶ֣ה אוֹ־כֶ֔רֶם וְשִׁלַּח֙ אֶת־בעירה [בְּעִיר֔וֹ] וּבִעֵ֖ר בִּשְׂדֵ֣ה אַחֵ֑ר מֵיטַ֥ב שָׂדֵ֛הוּ וּמֵיטַ֥ב כַּרְמ֖וֹ יְשַׁלֵּֽם׃ (ס)
(4) When a man lets his livestock loose to graze in another’s land, and so allows a field or a vineyard to be grazed bare, he must make restitution for the impairment of that field or vineyard.
(ה) כִּֽי־תֵצֵ֨א אֵ֜שׁ וּמָצְאָ֤ה קֹצִים֙ וְנֶאֱכַ֣ל גָּדִ֔ישׁ א֥וֹ הַקָּמָ֖ה א֣וֹ הַשָּׂדֶ֑ה שַׁלֵּ֣ם יְשַׁלֵּ֔ם הַמַּבְעִ֖ר אֶת־הַבְּעֵרָֽה׃ (ס)
(5) When a fire is started and spreads to thorns, so that stacked, standing, or growing grain is consumed, he who started the fire must make restitution.
(כ) וְגֵ֥ר לֹא־תוֹנֶ֖ה וְלֹ֣א תִלְחָצֶ֑נּוּ כִּֽי־גֵרִ֥ים הֱיִיתֶ֖ם בְּאֶ֥רֶץ מִצְרָֽיִם׃ (כא) כָּל־אַלְמָנָ֥ה וְיָת֖וֹם לֹ֥א תְעַנּֽוּן׃ (כב) אִם־עַנֵּ֥ה תְעַנֶּ֖ה אֹת֑וֹ כִּ֣י אִם־צָעֹ֤ק יִצְעַק֙ אֵלַ֔י שָׁמֹ֥עַ אֶשְׁמַ֖ע צַעֲקָתֽוֹ׃ (כג) וְחָרָ֣ה אַפִּ֔י וְהָרַגְתִּ֥י אֶתְכֶ֖ם בֶּחָ֑רֶב וְהָי֤וּ נְשֵׁיכֶם֙ אַלְמָנ֔וֹת וּבְנֵיכֶ֖ם יְתֹמִֽים׃ (פ)
(20) You shall not wrong a stranger or oppress him, for you were strangers in the land of Egypt. (21) You shall not ill-treat any widow or orphan. (22) If you do mistreat them, I will heed their outcry as soon as they cry out to Me, (23) and My anger shall blaze forth and I will put you to the sword, and your own wives shall become widows and your children orphans.
(ז) וַיִּקַּח֙ סֵ֣פֶר הַבְּרִ֔ית וַיִּקְרָ֖א בְּאָזְנֵ֣י הָעָ֑ם וַיֹּ֣אמְר֔וּ כֹּ֛ל אֲשֶׁר־דִּבֶּ֥ר יְהוָ֖ה נַעֲשֶׂ֥ה וְנִשְׁמָֽע׃

(7) Then he took the book of the covenant and read it aloud to the people. And they said, “All that Adonai has spoken we will do, and we will hear."

These cherry-picked examples have contemporary parallels, but now go through chapters 21-23 in full. What wisdom can we glean from the ancient societal rules on slavery, selling daughters, agriculture, and festivals?