He did not create anything sinful.
He declared His creation Good.
Sand is good if you're at a beach, not good if you have machinery.
Space is good if you have a spaceship, not good if you don't have a spaceship.
The word "good" in Genesis means "good [enough]" or "to specification."
A recipe that comes out as instructed is "good" but awful if it doesn't come out "good."
Adam was created sinful or as the word is defined by Strong's, "missing the mark."
What is the "mark" he missed?
The glory of God.
Anything and everyone God create out of the bullpen will be sinful or "missing the mark" of the glory of God BECAUSE there is only ONE God, there is NONE like Him, and He gives His glory to NO ONE.
God did not reduplicate Himself in Adam, and if God is the standard by which anything and everything is judged against then it will fall short of His glory. The word for that also is "sin."
"Good" does not mean "holy" or "righteous" or "sinless." It means God was satisfied with His creation as being to His "specification" and "good [enough]" for His purpose.
Only TWO PERSON'S can stand before a Holy God Blameless and that is a Holy Son and Holy Spirit. Everything and everyone else fall short of His glory because there is only ONE God, there is NONE like Him and He gives His glory (of which holiness and righteousness and sinlessness are His glory) to NO ONE. (That's what Isaiah said.)
God is Eternal. Just by virtue of being created man falls short of God's
Eternal glory because Adam was not created Eternal because Eternalness is a Glory of God and there is only ONE God, there is NONE like Him and He gives His glory to NO ONE.
If Adam possessed any ONE Deific Attribute of God, he would by necessity MUST possess ALL the Deific Attributes of God or he will "miss the mark" and fall short of God.
OK? Got it? "Good."