Adam was a type of Christ, each having the same role as the representative of his people, but with opposite outcomes.