Everyone dies, certainly also those who trust in their wealth. Riches cannot save you from death. But God will redeem me (my soul) from the realm of death. He will even take me up, take me away, out of the realm of death (compare with Galatians 4:4–5). This text makes us think of Enoch (Genesis 5:1–32) and Elijah (2 Kings 2:1–25). God rules over life and death. The poet confesses his faith, that he may come home to the Lord (safe as in Psalm 49:5).
This theme of eternal life with God has not been clearly verbalized in the Old Testament, but we see clear indications to it. Psalm 16:10 reads, For you will not abandon my soul to Sheol, or let your holy one see corruption.
Further, Isaiah 26:19 reads, Your dead shall live; their bodies shall rise. You who dwell in the dust, awake and sing for joy! For your dew is a dew of light, and the earth will give birth to the dead.
We can also look at Daniel 12:2 which says, And many of those who sleep in the dust of the earth shall awake, some to everlasting life, and some to shame and everlasting contempt.
You can add to this Psalm 73:1–28, especially the end which tells us that living close to God is so much better than life itself and surely also (better) than living in luxury. The New Testament gives more clarity about life with God for ever, in glory. John 14:3 also speaks about a place in Father’s house. The eternal weight of glory is touched on in 2 Corinthians 4:17. And in 1 Thessalonians 4:13–18 we find references to the coming of the Lord.
Concerning the redeeming of someone or the ransoming of someone, see Galatians 4:4–5 and 1 Peter 1:18.
15 But God will ransom my soul from the power of Sheol, for he will receive me. Selah