If Louis XII is a loser, then the winner must be Pope Alexander, who teaches that there is more to life than just politics. As a result, Machiavelli would have us realize that the church limits politics for Christians, it keeps them from doing all that a wise prince would do to be politically successful.
But notice, the Pope enjoys political success! So if not everyone is a failure, if the one who is politically successful is the one who says there is more to life than politics, who says that it is not important to be successful because the meek will inherit the earth, what are you to conclude?