What of reports that Israel in general, and Netanyahu in particular, actually supported the rise of Hamas, as a counterweight in Gaza to Arafat and the PLO?
Its good they mentioned Afghanistan, because too-clever-by-half politicians in the USA too helped create the monster it eventually had to face.
Nation-building, in the sense that a representative republic modeled on the US Constitution has to be imposed on an otherwise failed state, is itself an empty gesture, and doomed to repeat failure of the state, in an even more calamitous manner. The necessary framework is not there and cannot be imposed.