Week 20: Chi-Square Distribution: Recap & Statistics of S2

Here S_(n-1) ^2 term is said to be a Chi square distribution with (n-1) degrees of freedom.
But the summation in S_(n-1) ^2 is for ‘n’ samples so the degrees of freedom should be ‘n’ right?