Barciad said:
Machiavelli was not a scheming little rodent. Rather he was a typical career diplomat who just so happened to witness such intrigues. Later in life he wrote down what he saw and his theories that came about from them. The problem is, he wrote two major books and most people only bother to read one of them, i.e. the notorious one.
Ultimately what he wished to do was to compare despotic and republican forms of government. The Prince concerns the former, whilst 'Discourses on Livy' discusses the latter. It is simply incorrect to have read 'The Prince', and then claim understanding of Machiavelli and his motives. Since, what typically happens is that people seem to imagine 'The Prince' as a guide book on how to be evil.
It is nothing of the sort, rather it is a warning of the demands on any individual should they seek absolute power. He goes into great lengths to reveal the violence, deceit, and treachery required to acquire and maintain such authority.
He wrote the book for an Italian audience to solve a dire Italian problem: Italy disunity was causing never ending warfare and intrigue that was destroying Italy as a center of importance in Europe.
In his mind the Princely minster was a necessary evil to crush all those vying factions and finally reunite Italy before it was too late. His book and the whole world view he espoused was to accomplish that end, he never intended it to be applied to any other situations.
And then Italy became a puppet between France and the Hapsburgs, then a sideshow and took the long way around to unity only to become the weakest of the Great Powers half a millennium after his time.