Well, these are just some examples from the bible, finding it from jesus specifically is a bit harder. It should be noted I'm not anti-Christian, but it does say these things in the bible. At that time, slaves were usually previously criminals or prisoners of war, and instead of putting them in prisons which didn't exist, or execute them, they could instead become slaves to avoid the problem of costing money to keep separated from society. Before there were prisons, there was slavery; one could not keep a person out in the open for fear they may reoffend, but couldn't just kill them either. It was expensive to keep someone alive, and as people had little to spare back in those days, it obviously wouldn't be fair to expect a person to keep a person alive just because they tried to steal from you. So instead you could keep them on as slaves, people who would work their own food, possibly even grow it themselves, but who couldn't just up and run away and be free either. Basically, you gave them a chance to be kept alive and given food in exchange for work for people who otherwise couldn't be trusted in society. This naturally was a corrupt system that later evolved in to something worse, but the context makes sense. So the context is different in some forms of slavery vs. others. Slavery was seen as compassionate at that time, to avoid having to just straight up kill criminals for minor offenses and instead letting them work back what they had stolen or keep themselves alive via work and earn the food and resources they took up from someone else.
Slaves
Leviticus 25:44-46 ESV / 33 helpful votes Helpful Not Helpful
"As for your male and female slaves whom you may have: you may buy male and female slaves from among the nations that are around you. You may also buy from among the strangers who sojourn with you and their clans that are with you, who have been born in your land, and they may be your property. You may bequeath them to your sons after you to inherit as a possession forever. You may make slaves of them, but over your brothers the people of Israel you shall not rule, one over another ruthlessly."- This passage explicitly is saying it's okay to enslave others outside of Israel, but not Israelis. So specifically, it's saying you can enslave your enemies, but not each other. This kind of implies the idea of going out and attacking other people in the middle east, where Jesus was, and then enslaving them.
Titus 2:9-10 ESV / 39 helpful votes
Slaves are to be submissive to their own masters in everything; they are to be well-pleasing, not argumentative, not pilfering, but showing all good faith, so that in everything they may adorn the doctrine of God our Savior.
Ephesians 6:5 ESV / 40 helpful votes
Slaves, obey your earthly masters with fear and trembling, with a sincere heart, as you would Christ,
Colossians 4:1 ESV / 47 helpful votes Helpful Not Helpful
Masters, treat your slaves justly and fairly, knowing that you also have a Master in heaven.
1 Peter 2:18 ESV / 39 helpful votes
Servants, be subject to your masters with all respect, not only to the good and gentle but also to the unjust.
Exodus 21:20-21 ESV / 29 helpful votes
“When a man strikes his slave, male or female, with a rod and the slave dies under his hand, he shall be avenged. But if the slave survives a day or two, he is not to be avenged, for the slave is his money.