But what is the electronegativity of O? And as I have already mentioned, electronegativity is not the only factor to consider.
I suggest you get hold of a copy of "mechanism in organic chemistry" by Peter Sykes. It's an excellent introduction to organic chemistry, and deals with substitution reactions very well.