Even the countries which fought with the Allies were sentenced to this punishment.
Were sentenced?
Your passive voice begs the question: Who sentenced the Allies?
Answer: The Allies sentenced themselves.
The Allies imposed guilt on the Germans. Then the Allies imposed guilt on themselves.
Why, is an interesting question. But you can't blame the Germans because the Allies became guilt-ridden after WW2.
Yes. The Elites of the West did it to us.