That phrase is attributed to Louis XIV, who was not executed. He was an absolute monarch, so if he said it he wasn’t wrong.
His grandson Louis XVI was overthrown and executed during the French Revolution.
Louis XIV | Quotes
Numerous quotes have been attributed to Louis XIV by legend. The well-known "I am the state" ("L'État, c'est moi.") was reported from at least the late 18th century. It was widely repeated but also denounced as apocryphal by the early 19th century.[b] He did say, "Every time I appoint someone to a vacant position, I make a hundred unhappy and one ungrateful." Louis is recorded by numerous eyewitnesses as having said on his deathbed: "Je m'en vais, mais l'État demeurera toujours." ("I depart, bu...