"Political suicide" refers to a decision or action made by a politician that is likely to harm their reputation and chances of being successful in their political career. It is like doing something that results in harming oneself politically.
Full definition