Dissolution competes with the opposite process, crystallisation. The rate of crystallisation increases with the concentration of solute (here NaCl). At equilibrium, both processes are equally efficient, no net dissolution occurs any more. That's the solubility.