If God wished humans were perfect beings that obey everything he?
That would make us clones and without freedom of choice. God doesnt want puppets, automatons, or robots, but willing servants who love freely and voluntarily. God couldn't create a universe with free choice and then prevent sentient beings from using it to do evil. God didnt create evil, but the possibility. Where you have righteousness, unrighteousness is inevitable; where you have justice, injustice; laws, lawlessness, etc. God did create a world where mankind was innocent and inclined to obey Him, but Adam and Eve chose to reject it. Sin entered a world that was very good. And someday evil will be disposed of and there will be a perfect world (heaven) without evil and everyone perfectly obeying God just like Jesuswe live in the interim.