Matthew 25:42
For I was hungry and you gave me no food, I was thirsty and you gave me no drink. The basis of the curse: the failure to give food to the hungry and drink to the thirsty. The identical structure to the sheep's blessing — the same catalog of needs — with the negative: you gave me no. The failure is not commission but omission: the goats did not actively harm the King; they simply did not help.