Adam sinned, and that sin brought death into the world. Now everyone has sinned, and so everyone must die. Sin was in the world before the Law came. But no record of sin was kept, because there was no Law. Yet death still had power over all who lived from the time of Adam to the time of Moses. This happened, though not everyone disobeyed a direct command from God, as Adam did.
In some ways Adam is like Christ who came later. But the gift of God's undeserved grace was very different from Adam's sin. That one sin brought death to many others. Yet in an even greater way, Jesus Christ alone brought God's gift of undeserved grace to many people.
There is a lot of difference between Adam's sin and God's gift. That one sin led to punishment. But God's gift made it possible for us to be acceptable to him, even though we have sinned many times. Death ruled like a king because Adam had sinned. But that cannot compare with what Jesus Christ has done. God has treated us with undeserved grace, and he has accepted us because of Jesus. And so we will live and rule like kings.
Everyone was going to be punished because Adam sinned. But because of the good thing that Christ has done, God accepts us and gives us the gift of life. Adam disobeyed God and caused many others to be sinners. But Jesus obeyed him and will make many people acceptable to God.