And they made his grave with the wicked and with a rich man in his death, although he had done no violence, and there was no deceit in his mouth. (Isaiah 53:9 ESV)
For to this you have been called, because Christ also suffered for you, leaving you an example, so that you might follow in his steps. He committed no sin, neither was deceit found in his mouth. (1 Peter 2:21, 22 ESV)
The prophet Isaiah said that the Messiah would live his life without committing any sins. Jesus died because of sin, but not his sin for he had no sin of his own. Jesus was sinless.
We sin. Either my intent or ignorance, action or inaction, we disobey God and step into the realm of human pride and selfishness. We exotic the holy and enter the haughty. Jesus did neither.
For every bad choice, horrible decision, and disastrous consequence—Jesus suffered. He took it all upon his very capable shoulders. He carried them to the end. And he dumped it in hell with death itself. He was sinless, and so the wages of death have been paid in full by one who did not owe the bill. The Law fulfilled by the life of Christ.