Matthew 16:26

For what is a man profited, if he gain the whole world, and lose his own soul? or what shall a man give as a ransom for his soul?

Philippians 3:8-9

Yea doubtless and I count all but loss for the excellency of the knowledge of Christ Jesus my Lord, for whom I have suffered the loss of all, and I account them but dung, that I may gain Christ, and be found in Him,

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 gain the whole world, and lose his own soul? or what shall a man give as a ransom for his soul?
Philippians 3:8
Yea doubtless and I count all but loss for the excellency of the knowledge of Christ Jesus my Lord, for whom I have suffered the loss of all, and I account them but dung, that I may gain Christ, and be found in Him,