Whining from other kids?

My LO 1 can't stand it when other kids whine. I wish she would remember this when she does it herself.

"Mommy, make him stop...it is hurting my ears!"

"Stop whining, Mommy doesn't like it!"