Berean Standard Bible
Exodus 21:34
“The owner of the pit shall make restitution; he must pay its owner, and the dead animal will be his.”

In context
32If the ox gores a manservant or maidservant, the owner must pay thirty shekels of silver to the master of that servant, and the ox must be stoned.
33If a man opens or digs a pit and fails to cover it, and an ox or a donkey falls into it,
34The owner of the pit shall make restitution; he must pay its owner, and the dead animal will be his.
35If a man’s ox injures his neighbor’s ox and it dies, they must sell the live one and divide the proceeds; they also must divide the dead animal.
36But if it was known that the ox had a habit of goring, yet its owner failed to restrain it, he shall pay full compensation, ox for ox, and the dead animal will be his.
Berean Standard Bible · A modern, readable English translation. Public domain (CC0).