Both of the excuses here are flawed. Of course an eternal God knows what will happen and the Old Testament / New Testament thing doesn't add up. It is one story.
The question to me here is then why would the God who created the heaven and earth put up with man who is sinful all the time?
RE: How Evil it is that "Holy" Texts Did not Condemn Slavery