President Donald Trump implored Republicans to turn around their political fortunes ahead of November’s midterm elections, warning that if Democrats retake control of Congress, he would be impeached for a third time.

“You got to win the midterms,” Trump said Tuesday at a retreat for the party’s House caucus in Washington. “They’ll find a reason to impeach me. I’ll get impeached.”

Trump offered a familiar blueprint for majority parties, which historically have lost seats in off-year elections: blaming their troubles on messaging problems and insisting that voters just aren’t seeing their achievements.

Trump predicted the GOP would pull off an “epic” victory and defy those trends. Yet polls showing Americans’ dissatisfaction with his leadership and the state of the economy bode poorly for Republicans’ chances of keeping control of Congress.

Trump at times expressed exasperation with voters who have given him low marks on his stewardship of the country.