Tyranny is the opposite of freedom
Tyranny denies freedom, sometimes even in the name of freedom itself.
Few words have a more pejorative meaning than the terms "tyranny and tyrant." The word derives from the Latin word “tyrannus”, and this last one derives in turn from the Greek word “τύραννος”. The Royal Spanish Academy defines it as:
"Person who gets the government of a State by breaking the law, especially if he rules it without justice and imposing his will" and also: "person who abuses his power, superiority or strength in any issue or subject”, and also, simply, “one who imposes that power and superiority to an extraordinary degree".
But these are modern meanings that do not exactly match the original meaning of the Greek word. In the long history of Greece there was a time when the primitive monarchical structures were disappearing because of the social and economic changes in the cities. In this development, the most remarkable creation was "democracy", or government by the people, a term that comes from the Greek words δῆμος (demos = people) and κράτος (kratos = power). Fifth century BC Athens is the best model of ancient "democracy."
Sometimes, as the former royalty disappears, an individual emerges from among the aristocratic families themselves, takes personal power and favors the social changes that are taking place at that moment, giving freedom to the people.
But in the struggles between the popular classes and the aristocratic ones there were also frequent revolts, from the sixth century onwards, in which an individual, often supported by the people or the army, seized power and established a personal and absolute system of government. Many of these "tyrants" were loved by the citizens due to their good policy which favored the popular classes too and not just the aristocratic classes.
Thucydides is undoubtedly the most modern of the ancient historians for his critical sense and his commitment to narrating the verified truth, to objectivity. Speaking of tyranny, he tells us that kingship came first and that tyranny was the result of the growth in power and wealth of the Greek cities when they came to dominate the seas and founded numerous colonies (I, 13, 1). But he also says that tyrants only care about their personal situation, their own wealth and their own person (I, 17).
Like all absolute, one-person power, tyranny tends towards and facilitates all kinds of excesses, so it is easy to understand the evolution of the meaning of the term, which gradually took on negative values until reaching the current, absolutely pejorative one.
From this point of view, it is synonymous with, or very close in meaning to, other current terms such as dictator (originally a Roman magistracy with exceptional powers), despot (also a Greek word, which means master, owner, lord and whose pejorative meaning is quite recent), satrap (head of a province of the Persian Empire) (see https://www.antiquitatem.com/en/satrap-persia-charlemagne-missi-dominici), totalitarian, authoritarian, etc.
Unfortunately the examples of tyrannies and dictatorships throughout the History of mankind are endless, even in the present times, in which there’s no doubt that the primary good of men and fundamental human right, after life, is freedom.
Nor is it impossible, or by any means rare, that cruel tyrannies are established in the name of "freedom"; indeed, every tyrant presents himself as a liberator, and even today tyrants sometimes have the support of large groups of tyrannized citizens.