For He hath made Him to be sin for us, who knew no sin; that we might be made the righteousness of God in Him. – 2 Corinthians 5:20
All (Jesus’) sweet wills were towards goodness. His unconstrained life was holiness itself: He was “the holy child Jesus.” The prince of this world found in Him no fuel for the flame which he desired to kindle. Not only did no sin flow from Him, but there was no sin in Him, nor inclination, nor tendency in that direction. Watch Him in secret, and you find Him in prayer; look unto His soul, and you find Him eager to do and suffer the Father’s will. Oh, the blessed character of Christ! If I had the tongues of men and of angels I could not worthily set forth His absolute perfection. Justly may the Father be well pleased with Him! Well may heaven adore Him!
Beloved, it was absolutely necessary that any one who should be able to suffer in our stead should Himself be spotless. A sinner obnoxious to punishment by reason of his own offences, what can he do but bear the wrath which is due to his own sin? Our Lord Jesus Christ as man was made under the law: but He owed nothing to that law, for He perfectly fulfilled it in all respects. He was capable of standing in the room, place, and stead of others, because He was under no obligations of His own. He was only under obligations towards God because He had voluntarily undertaken to be the surety and sacrifice for those whom the Father gave Him. He was clear Himself, or else He could not have entered into bonds for guilty men. ~ C.H. Spurgeon
https://www.blueletterbible.org/comm/spurgeon_charles/sermons/1910.cfm