When you find something truly priceless, what are you willing to give up to have it? This parable shows an extreme, yet joyful, reaction.
The man who finds the hidden treasure doesn't just admire it; he acts with incredible urgency and joy. His discovery brings such overwhelming happiness and certainty of its worth that he immediately conceals it again (perhaps to protect it while he secures it) and then 'sells all that he has' to buy the field. This illustrates that the kingdom of heaven, once truly understood by faith, becomes the supreme object of desire. All other possessions, ambitions, and even self-interest are readily relinquished, not with regret, but with profound joy, because the value of the kingdom far surpasses anything else in this life. It's not a reluctant giving up, but a joyful exchange for something infinitely better.