I wonder the same thing. God wants to trick us? God wants to test us? God wants to see how much we love him? God gave us free will and we intentionally choose everything wicked and bad?
I think the great problem of recent history (maybe from around the time of Socrates) is that mind has lost alignment with heart. Mind is in charge of heart instead of heart being in charge of mind. Mind is supposed to be just a tool, like our eyes or ears, but it has become who we are. That's why our instincts are all wrong.