This is a good question. Elie agreed with the cry for freedom and hatred for the Germans. These words also instilled a feeling of defiance in Elie. We know this, because after the hanging, he said these words:
I remember that on that evening, the soup tasted better than ever...
The most important question is why Elie felt this way.
According to the text, the youth from Warsaw, who was to be hanged, was in concentration camps for three years. He is described as big and strong. Elie says:
He was tall and strong, a giant compared to me.
As the people looked on, they saw a defiant boy, whose spirit would not be broken. Even when the Kapo wanted to blindfold him before his execution, he refused. Moreover, with strength and calm, the boy uttered the very words that all the Jews must have felt deep in their hearts. Elie was strengthened in his resolve to live.
Here is the quote:
The Kapo wanted to blindfold the youth, but he refused.
After what seemed like a long moment, the hangman put the rope around his neck. He was about to signal his aides to pull the chair from under the young man's feet when the latter shouted, in a strong and calm voice:
"Long live liberty! My curse on Germany! My curse! My—"