The Keil and Delitzsch Commentary even puts it this way, A wife such as she ought to be is a rare treasure, a good, excelling all earthly possessions. A virtuous woman who can find her? She stands far above pearls in her worth. We can now tie this into Jesus Christ's parable as recorded in Matthew 13:45. You do not have to turn there, I will just read it.
The wife who is using God-given strength in everything she does represents the magnificent jewel that is being developed within this chaotic world. Christ already saw the fullness of the beautiful pearl that was to be developed within the trials and tribulations of this world. A beautiful pearl that was being developed by those continuing to live faithfully by every word of God within this pressure. A beautiful pearl that He paid the ultimate cost for in His sacrifice, as Bill said. Our focus is often too limited on the physical, as Lot's was. But God fully expects our focus to be the same as David's on what we will become through the God-given strength that comes only from Him, so we can begin living as parts of His righteous work, always giving Him praise.