Romans 3:24-25

... and are justified freely by His grace through the redemption that came by Christ Jesus.

God presented Him as a sacrifice of atonement, through faith in His blood. He did this to demonstrate His justice because, in His forbearance, He had left the sins committed beforehand unpunished