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.
Mark the blameless man, and observe the upright; for the future of that man is peace. But the transgressors shall be destroyed together; the future of the wicked shall be cut off.” Psalm 37:37-38.
“But the salvation of the righteous is from the Lord; He is their strength in the time of trouble. And the Lord shall help them and deliver them; He shall deliver them from the wicked, and save them, because they trust in Him” Psalm 37:39-40.