Idiom
sell out somethingsell out (someone/something)
to stop being loyal to someone or something.He accused Congress of selling out the American people to lawyers who opposed the bill.I could sell you all out and go straight to the police with this information.
Usage notes: often money is the advantage that is gotten:
Anyone who would sell out his own country for money deserves to go to prison for life.