A mess of pottage is something immediately attractive but of little value taken foolishly and carelessly in exchange for something more distant and perhaps less tangible but immensely more valuable. The phrase alludes to Esau's sale of his birthright for a meal of lentil stew ("pottage") in Genesis 25:29–34 and connotes shortsightedness and misplaced priorities. --Wikipedia
And what do you benefit if you gain the whole world but lose your own soul? Mark 8:36 NLT