None of us has the authority to judge God's actions. Many OT people were immoral. Ham was certainly immoral. Sodom and Gomorrah are prime examples. Many were moral, beginning with Noah.
You are trying to duck the question again, you invertebrate slimeball.
You are arguing that your morality was not present until Christ and if that is so one would have to conclude that the earlier leaders and supposed edicts of God were immoral or amoral, according to you.