If congressmen never voted on double edged swords or poison pill legislation out of principle, they'd all be labeled do-nothing grandstanders like Thomas Massie. While it may work for Massie, as his constituents are smart enough to know voting no on every bill is better than voting yes on a bad one, most congressmen would not survive that for long.
It is, solely, the fault of disinterested constituents that congress get away with passing laws for special interests and corporate lobby rather than the country at large.