Iraq was probably against Israel's interests. (Israel hates Iran, Iraq hated Iran. US taking out Iraq made Iran stronger which made Iran more threatening to Israel)
He didn't say not to attack. It says in there that he told Bush that Iraq was a threat, but that he shouldn't occupy Iraq or try to build a democracy there because it won't work. The rest of the article is 2007 hindsight.