Does it really follow?

Luke 23:45-46
Then the sun was darkened, and the veil of the temple was torn in two. And when Jesus had cried out with a loud voice, He said, “Father, ‘into Your hands I commit My spirit.’ ”  Having said this, He breathed His last.

Are these the dying words of one who had just endured a hell’s worth of punishment on the cross?

Jesus bore our sins in his own body on the tree; he became a curse for us, but does it really follow that he was punished on the cross and assuaged the Father’s wrath?