the last passage clearly is about an earthly slave relationship, between 2 people.
Deuteronomy 15:12-18 "And if thy brother, an Hebrew man, or an Hebrew woman, be sold unto thee, and serve thee six years; then in the seventh year thou shalt let him go free from thee.And when thou sendest him...