Correct.
If he attacks before the bill passses the Dems won’t vote for it and he will be blamed for it failing.