Its a matter of record that the War of Spanish Succession was finally settled when Philip was installed, however, since the original intention was to create a state comprising France, Spain and all their colonies, and since this didn’t happen, it could also be called at the very best a stalemate.
True that this still meant a very close relationship between France and Spain, but given how closely related all the European royals were, this would have been the case one way or another anyway.
This is far from a French win and when you look at the outcome of the Treaty of Utrecht, though France inside its own borders didn’t fare too badly, its clear that French intentions were seriously dented, Spain was almost neutered, and Europe began to take on a look that is much more recognisable through todays eyes.
Those French-instigated wars in Europe reduced their overseas adventures and as a result made things far easier for the expansion of the British Empire.
It might have been worth it for France if it had ended up as ruling Europe, but as it was, the French kept on losing and over-extending themselves.
Their actions certainly helped the Prussians for example to develop their outlook and hostility and ultimately led to a unification of Germany as a form of defence against French aggression. No doubt some Germanic states such as Bavaria objected to this unification.
As for the Revolutionary Wars and the Napoleonic wars, ultimately these pretty much ran into each other, you can’t really talk of France gaining advantage in the former, when the latter negated all those gains. I suppose you can say France started off well, but ran out the losers, both in Continental Europe but especially in overseas and colonial power.
You also have to realise that the fall of French dominance is what led to the rise of Italy and Germany, and these in turn led to further French defeats.
Ultimately the winner here could well be the what finally became the USA, by not being involved in these almost continuous European wars the US was able to utilise the benefits of improved industrial technology and not waste assets fighting pointless wars.
It all still points to France being the aggressor for the most part, and gradually losing power and influence as it got its ass kicked from India to Canada and all points in between.