Imagine for a moment that a scientist were to create some lifeforms in a controlled environment and then willfully create some imperfections within these creations. Then when the imperfections of these creations causes problems, he judges them and punishes them. He then hates some of the outcome of his creations. He is an imperfect creator and does not know what he is getting into. Furthermore he could be a sadist or some sick lunatic.
God in the perfect creator. It was his Divine Will that made man imperfect. The loving God is not a lunatic. He is not going to punish or judge us for our failures.There is another explanation why he created man with imperfections.
To judge man for who he is, you will have to judge God too.
God's is so wonderful that he will not judge us or punish us.
God is too Good, too Grand and Loving to judge us. God is too Powerful to feel hurt by man failures or any other unfortunate outcomes. As usual this information about God is too Good for most of us to accept.
Jesus showed this in the parable of the prodigal son and many other parables. In these parables Jesus also showed how others who thought that they were good, feel indignant because God gave wrong doers full dignity without judgment.
Our imperfect human nature likes to see punishment on others, who we feel did not do as much as us, or who were not good as us. This is not true with God.