It's much worse than that. The parties will purposely kill bills in Congress to prevent an opposing party's president from getting credit for signing it into law. A prime example being when the GOP killed a bill to give free treatment to 9/11 first responders for illnesses arising from their work at ground zero.