# Why is OH group activating towards electrophilic aromatic substitution?

In phenol, the OH group has -I effect due to electronegative oxygen. So, OH group should deactivate the benzene ring towards electrophilic substitution.

[P.S.: I am not talking about the o,p-directing ability of OH, which appears due to lone pair. Also please do not suggest me the question at the link Why is a hydroxyl group more activating than a methoxy group in electrophilic aromatic substitution?, because that is not what I am looking for.]

The oxygen in the $\ce{-OH}$ group in phenol has unpaired electrons that are capable of being donated to the ring. Although oxygen is electronegative and does exhibit some I- effects, the electron sharing that oxygen is capable of (shown by when drawing the resonance structures) has a stronger effect and results in $\ce{-OH}$ being a good ring activator. I've included the resonance structures below.