What is the meaning of Matthew 13:44-46?

44 Again, the kingdom of heaven is like unto treasure hid in a field; the which when a man hath found, he hideth, and for joy thereof goeth and selleth all that he hath, and buyeth that field. 45 Again, the kingdom of heaven is like unto a merchant man, seeking goodly pearls: 46 Who, when he had found one pearl of great price, went and sold all that he had, and bought it. (Matthew 13:44-46 KJV)

William Burkitt’s Commentary

By the treasure hid in the field, and the pearl of great price, are understood, Christ, the grace of the gospel, and the way to life and salvation therin discovered; he that is thoroughly convinced of the worth and excellency of Christ’s grace, will part with all that he has to purchase and obtain it.

Learn, That the sinner who will have interest in Christ, and a part in gospel grace, must part with all that he has to purchase and obtain them, even with his goods and lands with his wife and children; for Christ and his grace are a real good, a substantial good, a durable good; he outbids all the offers the world can make, and therefore it is our wisdom to part with all for him, and especially our sins, dearer to us than all the rest.