Now to address the elephant in the room. If knowing what’s right and wrong can cause us to sin, why should we know anything at all?
God has a great dilemma. He is Love and the greatest desire of Love is to love and to be loved but, love cannot be created. God could not create us already loving Him because love must have a choice. Otherwise, with no choice it is manipulation and not love at all... just a bunch of robots.
God had to give Adam and Eve a choice.... the choice has always been Life or Death. They had two trees - the Tree of Life or the Tree of the Knowledge of Good and Evil which ended in Death.
God wants us to choose Life because we love Him and want to be with Him.
I choose Life!