Why does ionization increase from Li to Be? [duplicate]

If ionization energy decreases from $\ce{N}$ to $\ce{O}$ due to the pairing of electrons (causing electric repulsion and greater potential energy) in the $\mathrm{2p}$ orbital in the $\ce{O}$ atom, then why doesn’t ionization energy decrease from $\ce{Li}$ to $\ce{Be}$ as electrons are paired in the $\mathrm{2s}$ orbital?