If you've read all my previous posts, I explained that God could not make us perfect. The process of creating intelligence living beings is by combining self-existing intelligence with self existing matter. I don't believe God creates out of nothing. I believe that is a false doctrine. I believe all life exists on a self-existing principle. Thus if God cannot create our intelligence, then cannot create it to be perfect. Our intelligence, at the time of birth, is in the state it has reached throughout eternity. God simply creates (organizes) self-existing intelligence and matter into living human spirits and living human bodies. That is how we are created. The process of combining these self-existing materials is through the process of procreation. Our spirits are the literal offspring of God our Eternal Father in Heaven. We are literally the offspring of God. Progression in God's vast kingdom comes by learning and understanding and applying God's will to our lives. We have the capacity to become like our Father in Heaven. This why Jesus commanded us to be perfect even as our Father in Heaven is perfect. God knew that when He placed Adam and Eve on this earth that they would fall and for this reason he called and selected His firstborn son Jesus Christ to be the Savior of the World before the foundation of the world.
1 Peter 1:19-21
19 But with the precious blood of Christ, as of a lamb without blemish and without spot:
20 Who verily was foreordained before the foundation of the world, but was manifest in these last times for you,
21 Who by him do believe in God, that raised him up from the dead, and gave him glory; that your faith and hope might be in God.
God knew that the self-existing intelligences were imperfect and the only way to have them progress was to have them learn by knowledge and understanding and free will to choose to become better beings. Only through free will can a being become good in and of himself. It was beyond God's ability to create mankind to be perfect because He couldn't create the intelligence of man from the beginning. This mortal life is a temporary existence. God doesn't want us to kill one another but allow everyone to have free will to choose to be better beings. However, God himself is the God of this world and overseer of our progression and advancement in this world. If He feels that certain people need to be taken out of this temporary existence, then it is his right to do so. Through the merits of Jesus Christ we all will resurrect and live forever and ever in bodies of flesh and bones. So this life is temporary and God can take you out of this temporary mortal life whenever He chooses. The purpose of this mortal life is to gain and learn to use a body of flesh and bones and to learn good and evil and to overcome evil by choosing good. If mankind, of their own free will and choice, is not progressing but digressing, God may feel that it is necessary to remove mankind from this temporary existence so as not to spoil it for others. Such was the case in the days of Noah.
One that knows all things and is capable of running a world filled with imperfect beings with a high degree of free will. If free will is critical for the progession of his children, what other option would he have than to remove them from this temporal existence if they use their free will to start leading many others down the path of destruction?