The scriptures stated that God created man in His image. It clearly wasn’t referring to physical image because God doesn’t have boobs and since Eve was created by God’s own hands, her boobs must be perfect. I think it has more to do with qualities. Therefore, if man’s qualities image God’s, it would be impossible for man to sin since God cannot sin. But obviously man is primed to sin so he cannot be in God’s image.
We see many instances in the scriptures where God doesn’t seem as perfect as claimed. We see Him yelling out in the wilderness asking Moses where he is when He is supposed to be all knowing. We see Him subscribing to the faulty inclination and subsequent learning from them that it was not a good idea to subscribe. We see Jesus who is supposed to be just as perfect and all knowing preaching incessantly that Judas will be with him in heaven only to give up on that idea after he realized that Judas had betrayed him. Is like Trump bragging about hiring the best people only to refer to then as never trumpers after he realizes that they are not going to help him with his illegalities anymore. Seems like God is no more perfect than Trump. 😀