His quote does not imply causality merely a partial list of things Clinton has done that are to his discredit.
"You have a president who was impeached for having an affair with an intern" clearly states that the impeachment was due to the affair.