the owner of the pit must pay for the loss; he must pay the animal’s owner, and the dead animal will be his.
In context
32If the ox gores a male or female servant, the owner must pay the master thirty shekels of silver, and the ox must be stoned. 33If a man opens a pit, or digs a pit and does not cover it, and an ox or a donkey falls into it, 34the owner of the pit must pay for the loss; he must pay the animal’s owner, and the dead animal will be his. 35If a man’s ox injures a neighbor’s ox and it dies, they must sell the live ox and divide the price, and also divide the dead animal. 36But if it is known that the ox has had the habit of goring, and its owner has not restrained it, he must pay full compensation, ox for ox, and the dead animal will be his.