Cell potential, free energy and the equilibrium constant are three readings of one fact. Drag any ruler and the other two follow. Then change the electron count and watch two rulers stretch while the voltage ruler holds still.
Only two of the three rulers care about n. Voltage is energy per unit of charge, so more electrons bring more of both and the ratio holds.