When God confronted Adam and Eve after their sin in the Garden of Eden, see Genesis 3:1-24, He pronounced a series of curses and punishments; within this God made reference to the coming Christ who was to take away the sin of the world.
“When Jesus had spoken these words, He went out with His disciples over the Brook Kidron, where there was a garden, which He and His disciples entered. And Judas, who betrayed Him, also knew the place; for Jesus often met there with His disciples.” John 18:1-2.