Jesus, the God-Man, born as a baby, came to die for all people's sins. He is both God who can forgive sin and the perfect Man who can die for the sins of the world!
"Let this mind be in you, which was also in Christ Jesus: Who, being in the form of God, thought it not robbery to be equal with God: But made Himself of no reputation, and took upon Him the form of a servant, and was made in the likeness of men: And being found in fashion as a man, He humbled Himself, and became obedient unto death, even the death of the cross."
Philippians 2:5-8