Q. Doth God leave all mankind to perish in the estate of sin and misery?
A. God doth not leave all men to perish in the estate of sin and misery, into which they fell by the breach of the first covenant, commonly called the covenant of works; but of his mere love and mercy delivereth his elect out of it, and bringeth them into an estate of salvation by the second covenant, commonly called the covenant of grace.

Q. With whom was the covenant of grace made?
A. The covenant of grace was made with Christ as the second Adam, and in him with all the elect as his seed.

(Questions XXX and XXXI of the Westminster Larger Catechism.)