Adam was a type of Christ, each having the same role as the representative of his people, but with opposite outcomes.
From all of eternity God held a secret, which he finally revealed through his church to all the heavenly beings.
When we hear the gospel and believe it, Christians are sealed with the Holy Spirit.