Niccolo Machiavelli

The one who adapts his policy to the times prospers, and likewise that the one whose policy clashes with the demands of the times does not.