Why?
He did it to pay the required death penalty for the sins of sinners (i.e. all humans).
Therefore,
Anyone who trusts in Him (Jesus) and His substitutionary atoning sacrifice will be saved from having to personally pay his or her own personal sin penalty of death.
"For God (the Father) so loved the world that He gave His only begotten son (Jesus / Yeshua) -- that whosoever believes in Him shall not perish but have everlasting life."
That includes you and me
IF
we confess our sins to Him, ask for forgiveness, will let Him be our Lord, and accept His free gift of salvation.
But
Why would Jesus die for me?
That is what this 3 minute 43 seconds A cappella Hymn, "Who Am I?" is asking. HERE'S THE LINK
...