In Cosmology critical density is defined as the minimum density for a flat universe to keep expanding, by Friedmann Equation:
${\left({\frac {\dot {a}}{a}}\right)^{2}={\frac {8\pi G}{3}}\rho -{\frac {kc^{2}}{a^{2}}}\,}+\frac{{\Lambda}c^2}{3}$
Because the universe is flat, $k=0$ and define $\rho_\Lambda = \frac{\Lambda}{8\pi G c^2}$, this equation can be simplified into:
${\left({\frac {\dot {a}}{a}}\right)^{2} = {\frac {8\pi G}{3}}(\rho + \rho_\Lambda)}$
For the universe to expand, $\dot a \ge 0$,take $\dot a = 0$ for a stable universe, which gives $\rho_c = 0$, but in reality $\rho_c = \frac{3H^2}{8\pi G}$, so where did I messed up?