When God created Adam and Eve in the Garden of Eden, he imparted in them knowledge. They had the knowledge they needed to live and survive and to have dominion over the animals, but they lacked the knowledge of evil! In fact God forbid them from gaining the knowledge of evil in Genesis 2:17:
But of the tree of the knowledge of good and evil, thou shalt not eat of it: for in that day thou eatest thereof thou shalt surely die.
Now as we know Satan, disguised as a serpent, convinced Eve that God was wrong and the end result is that man now has the knowledge of good and evil. Some people think that God held back knowledge in general, but it was specifically that tree that contained the knowledge of good and evil that God wanted us to avoid.
He never intended sin to enter the world, but He also gave us Free Will to make that choice. Unfortunately we chose wrong and have been working towards fixing it since.
God gave you knowledge, use it wisely, and tomorrow we’ll learn about Forgiveness.