Where there is no law there is no transgression. Rom. 4:15
Gensis 2:16-17 “And the Lord God commanded the man, saying, “Of every tree of the garden you may freely eat; but of the tree of the knowledge of good and evil you shall not eat, for in the day that you eat of it you shall surely die.”
We clearly read that God is promising DEATH through this one commandment. This is a law of sin and death. God never promised LIFE through a system of works.
Romans 8:2 "For the law of the Spirit of life in Christ Jesus has made me free from the law of sin and death."