The Prince by Niccolo Machiavelli Chapter 18 Page 5

you should be able and know how to change to the contrary.

And you are to understand that a Prince, and most of all a new Prince, cannot observe all those rules of conduct in respect whereof men are accounted good, being often forced, in order to preserve his Princedom, to act in opposition to good faith, charity, humanity, and religion. He must therefore keep his mind ready to shift as the winds and tides of Fortune turn, and, as I have already said, he ought not to quit good courses if he can help it, but should know how to follow evil courses if he must.

A Prince should therefore be very careful that nothing ever escapes his lips which is not replete with the five qualities above named, so that to see and hear him, one would think him the embodiment of mercy, good faith, integrity,