In the garden of Gethsemane, the Father made Jesus to be sin for us. 2Co 5:21. This happened when Jesus drank the cup of cursing that the Father gave to Him. Luk 22:42. By drinking this cup, Jesus, by the grace of God, began to ‘taste’ the suffering of death for everyone. Heb 2:9.
When Christ died for all, then all died with Him. 2Co 5:14. He died the death of every person, making their death His death. For this reason, His death revealed both the judgement of God and the salvation of God for each of us. Through His offering, the death of every individual was gathered into the cross. This is what Jesus meant when He said, ‘And I, if I am lifted up from the earth, will draw all peoples to Myself.’ Joh 12:32.
How a person dies with Christ determines the nature and outcome of the death that they are dying in their mortal body. They will either die with Christ under the judgement of God because they live according to the sight of their own eyes, or they will die with Christ, by grace, in the fellowship of His offering and sufferings. In this fellowship, they are being made alive as a new creation son of God.