That's demonstrably false. Politicians like Strom Thurmond and Joe Biden enjoyed long careers in the Senate after opposing the Civil Rights movement. Lindsey Graham opposes gay marriage today.