Matthew 16:26

For what would a man be advantaged, though he could gain the whole world, if he should suffer the loss of his soul? or what will a man give as the ransom for his soul?

Philippians 3:8-9

Yea doubtless, and I count all things but loss for the transcendently excellent knowledge of Jesus Christ my Lord: for whom I have suffered the loss of all things, and count them but as offals of ordure, 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 would a man be advantaged, though he could gain the whole world, if he should suffer the loss of his soul? or what will a man give as the ransom for his soul?
Philippians 3:8
Yea doubtless, and I count all things but loss for the transcendently excellent knowledge of Jesus Christ my Lord: for whom I have suffered the loss of all things, and count them but as offals of ordure, that I may gain Christ,