Throughout history, some people changed sides for personal gain and were condemned by later generations.
Tips
usage
变节 implies a moral failure — abandoning one's principles, party, or nation under pressure or for gain. It carries strong condemnation. Compare 叛变 (pànbiàn), which focuses more on the act of armed rebellion or switching to the enemy.