Really? So, what neat little moral or ethical lesson does this represent?The old testament is a metaphor.
" “If a man sells his daughter as a servant, she is not to go free as male servants do."
Google the word ‘metaphor’.
Then everything will be clear.