This appears to be older english like in fairy tales. It means that the king ordered that the servant, along with the servant's wife and everything the servant owned, all be sold to pay the debt. And yes, sold like slaves.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.