What does Exodus 22:2 mean?
A thief must pay back everything they stole. If they can’t, they have to be sold as a servant to pay for what they took. Exodus 22:2 - Modern Text Bible
(The focus is on making things right for the victim. If the thief can’t pay, they work off their debt.)