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 shall not be liable. 29 If the ox has been accustomed to gore in the past, and its owner has been warned but has not restrained it, and it kills a man or a woman, the ox shall be stoned, and its owner also shall be put to death. 30 If a ransom is imposed on the owner, then the owner shall pay whatever is imposed for the redemption of the victim's life. 31 If it gores a boy or a girl, the owner shall be dealt with according to this same rule. 32 If the ox gores a male or female slave, the owner shall pay to the slaveowner thirty shekels of silver, and the ox shall be stoned. 33 If someone leaves a pit open, or digs a pit and does not cover it, and an ox or a donkey falls into it, 34 the owner of the pit shall make restitution, giving money to its owner, but keeping the dead animal. 35 If someone's ox hurts the ox of another, so that it dies, then they shall sell the live ox and divide the price of it; and the dead animal they shall also divide. 36 But if it was known that the ox was accustomed to gore in the past, and its owner has not restrained it, the owner shall restore ox for ox, but keep the dead animal.
Matthew Henry's Commentary on Exodus 21:28-36
Commentary on Exodus 21:22-36
(Read Exodus 21:22-36)
The cases here mentioned give rules of justice then, and still in use, for deciding similar matters. We are taught by these laws, that we must be very careful to do no wrong, either directly or indirectly. If we have done wrong, we must be very willing to make it good, and be desirous that nobody may lose by us.