How do we know that Christ’s death was for a specific group?
Answered in 1 source
Christ died specifically for the elect, as He took the place of sinners, not for righteous or deserving individuals.
Historical and biblical theology teaches that Christ's death is particular in nature; He did not die for the angels or for those who consider themselves righteous. Instead, Jesus came to save sinners, identifying with the ungodly. As Romans 5:8 states, 'God commendeth His love toward us, in that while we were yet sinners, Christ died for us.' This points to the specific work Christ did on behalf of the elect—those chosen by God for salvation. The gospel is not a blanket offer to all indiscriminately but a promise of salvation to those who recognize their lost condition and trust in Christ as their substitute.
Commentary