venderse por un plato de lentejas

Etymology
lit. 'sell oneself for a dish/bowl of lentils'. It references Esau, who sold his birthright for a bowl of lentils.

Verb

 * 1)  to sell out; to sell one's birthright for a mess of pottage