Among the Hebrews a welfare system was set up so that someone poor, debt-ridden, or needing to pay restitution was able to become a servant to another, wealthy Hebrew. Sometimes this was even done for life.