Matthew 16:26

For what is a man profited, if he may gain the whole world, and lose his own soul? or what will a man give in exchange for his soul?

Philippians 3:8-9

Yes truly, I even counted all things loss on account of the excellency of the knowledge of Christ Jesus my Lord, for the sake of whom I suffer the loss of all things, and I consider them but excrements, that I may gain Christ,

Treasury of Scripture Knowledge

Summary

For wisdom is better than rubies; and all the things that may be desired are not to be compared to it.

Bible References

Wisdom

Matthew 16:26
For what is a man profited, if he may gain the whole world, and lose his own soul? or what will a man give in exchange for his soul?
Philippians 3:8
Yes truly, I even counted all things loss on account of the excellency of the knowledge of Christ Jesus my Lord, for the sake of whom I suffer the loss of all things, and I consider them but excrements, that I may gain Christ,