On the Seventh day, after creating the heavens, the earth, the seas, and creatures big and small, and after birthing Adam and Eve, God rested.
The next day, He considered what remained undone.
On the Ninth day, He envisioned a world filled with people but wondered what they would be like.
So He created the truth, and it tasted like spinach. Then He created lies, and they tasted like cotton candy. Then He created greed, pride, lust, and every sin He could think of.
He gave everyone free will.
Then He sat back to see how it would work out.