So that originally, and Naturally, there is no such thing as Slavery. Joseph was rightfully no more a Slave to his brethren, then they were to him: and they no more Authority to Sell him, than they had to Slay him. [Genesis 37].
An unlawful war can't make lawful captives.