There were several avenues into slavery. Some were in enslaved due to poverty, known as debt slaves. Some were born into slavery and others came through wars. Then there was slavery as a result of a crime.<quoted text>
So does Leviticus abrogate Exodus since it comes later?
Leviticus 25:44-46: "Your male and female slaves are to come from the nations around you; from them you may buy slaves. You may also buy some of the temporary residents living among you and members of their clans born in your country, and they will become your property. You can will them to your children as inherited property and can make them slaves for life, but you must not rule over your fellow Israelites ruthlessly." (NIV)
Certainly you realize that most slaves are kidnapped at one point or another, don't you? If you buy a kidnapped slave, how would you know they were kidnapped?
At the time there was no welfare system for the unemployed, unskilled, and poor. To survive for some was slavery. Sold into slavery by family members. Apparently there was not a shortage of slaves due to that fact.
“In the Ancient Near East, captives obtained through warfare were often compelled to become slaves, and this was seen by the law code of Deuteronomy as a legitimate form of enslavement, as long as Israelites were not among the victims; the Deuteronomic Code institutes the death penalty for the crime of kidnapping Israelites to enslave them.”
“Yet the Israelites did not get involved in distant or large scale wars, and apparently capture was not a significant source of slaves”
“Poverty, and more general lack of economic security, compelled some people to enter debt bondage.”
“The earlier Covenant Code instructs that if a thief is caught after sunrise, and is unable to make restitution for the theft, then the thief should be enslaved.”