From the Shorter Catechism

Q. 20. Did God leave all mankind to perish in the estate of sin and misery?

A. God having, out of his mere good pleasure, from all eternity, elected some to everlasting life, did enter into a covenant of grace, to deliver them out of the estate of sin and misery, and to bring them into an estate of salvation by a Redeemer. Eph. 1:4; Rom. 3:20-22; Gal. 3:21-22.