In simple terms universe expands because big bang make it expand.
But universe is found to be accelerating ,from here the theory starts.
either dark energy is causing it to expand (perhaps) or something else.
while force against gravitational attraction of galaxies.
I think the baryonic matter present is much much less for such an imense void space to cause any gravitational attraction ,much less than the critical density and this all was only by the force of big bang ex. dark energy has much to do beyond.