Gods purpose was to Redeem man from the punishment of sin, and that would be death, and thereafter not entering into Eternal life.
Look at what God (Jesus Christ) promises,
1 CORINTHIANS 7;23
Ye are bought with a price; be ye not servants of men.
For by grace are ye saved through faith; and that not of yourselves: it is the gift of God:
Rom 8:35 Who shall separate us from the love of Christ? shall tribulation, or distress, or persecution, or famine, or nakedness, or peril, or sword?
Rom 8:38-39 For I am persuaded, that neither death, nor life, nor angels, nor principalities, nor powers, nor things present, nor things to come,
Nor height, nor depth, nor any other creature, shall be able to separate us from the love of God, which is in Christ Jesus our Lord.
God will never leave you or forsake you. So rather let this be uplifting than occasion to sin.