Excess of OH- ions in electrolysis of sodium chloride solution

In the electrolysis of dilute or concentrated sodium chloride solution, at the cathode as hydrogen ions discharge and cause an excess of hydroxide ions, why doesn't the negativity of the cathode repel the hydroxide ions as the electrode is the negative electrode?


