Slavery in the Bible

When I say slavery was ended, I mean it in the pejorative sense. I completely understand that slavery has NOT been abolished in all of its forms. Many in the comment sections list sex-slavery, child-labor, and economic slavery. I am not speaking of those particular branches of slavery, but am referring more to the generic concept.