Just because it is recorded in the Bible does not mean God agrees with it, nor did he create it. Instead, we see God working within the culture with the institutions and social patterns humans established (more on this in the next chapter), transforming them, but not approving of them.