In the Old Testament, we are told that the Messiah would commend His Spirit to God.
Old Testament Prophecy
Into your hands I commit my spirit; redeem me, O LORD , the God of truth. [Psalm 31:5 NIV]
New Testament Fulfillment
Jesus called out with a loud voice, “Father, into your hands I commit my spirit.” When he had said this, he breathed his last. [Luke 23:46 NIV]
Image courtesy of Abby Reed