Let $\Sigma$ be an alphabet of size $|\Sigma|=k$. Let $w\in\Sigma^*$ be a word over $\Sigma$. If $|w| > 2^k$, then $w$ contains an infix $y$ with $|y|\ge 2$, such that every letter occurring in y occurs an even number of times in $y$.
Seems it's obvious but I can't prove it.
By the pigeonhole principle, there must be two different prefixes of $w$ that contain the same number of each letter modulo 2. Their difference is your $y$.