God directly created Adam and Eve. His people. Who He desired to populate the earth with more of His people born of Adam and Eve. Satan in causing the fall of man introduced another seed line, his. (Gen. 3:15) Thus, not all born of Adam and Eve are of God. They are the product of Satan's work.
Was God aware this would happen? Of course. He is God. The suffering of His people would be necessary for 'sonship'. Even The Son, Jesus, was not immune to suffering for this purpose. (Heb. 5:8) "Though he were a Son, yet learned he obedience by the things which he suffered."
Was the Son ever disobedient? No, never. But now, been given a human body, He feels the trial and the temptation and the suffering. All of which God has determined is necessary for 'sonship'. And, how he suffered.
Your next question will no doubt be, ''why would God choose that way of suffering?" That I don't know, other than it obtains what He is after in His people. Just like 'death' is necessary also. (John 12:24) "...Except a corn of wheat fall into the ground and die, it abideth alone: but if it die, it bringeth forth much fruit."
You call it mean. We who believe, who are 'of Him' know this is not just the best method for God to obtain the true sons He wants, but it is the only way. Else another way would have been made.
I have often thought, not doubted, that I could not do to my kids what God does to His. And I only see what's in my own surrounding. God sees it all. All the evil that men do he sees it, and doesn't switch the channel. I don't know how He does it, but He does.
And because He does it, it is good, and right, and just.
Quantrill