It's the weakest of the 4 basic forces, but it's strong enough to keep the moon orbiting the Earth
The moon orbits the Earth at a relatively constant distance, and the planets .... Oh 
and gravity is the weakest of the four forces, not the strongest.