Having an electoral mandate is a necessary condition, not a sufficient one. If you don't follow your own laws and your own constitution, for instance, you're not a in a democracy, even if you have been elected. Precisely because you are elected under the assumption that you will follow the laws and constitution, not have unlimited power to do whatever you like until the next elections.
> On the first morning of Operation Epic Fury, 28 February 2026, American forces struck the Shajareh Tayyebeh primary school in Minab, in southern Iran, hitting the building at least two times during the morning session. American forces killed between 175 and 180 people, most of them girls between the ages of seven and 12
https://news.ycombinator.com/newsguidelines.html
(* for reasons—I hasten to add—unrelated to which side of the conflict they or anyone else is identifying with)