What is the meaning of Sell_down_the_river?

To betray, especially in a manner which causes serious difficulty for the one betrayed.

Source: wiktionary.org