Antonio Gramsci said this quote

Since defeat in the Struggle must always be envisaged, the preparation of one's own successors is as important as what one does for victory.