  Observations from the James Webb Space Telescope (JWST) have unveiled several
galaxies with stellar mass $M_*\gtrsim10^{10} M_\odot$ at $7.4\lesssim
z\lesssim 9.1$. These remarkable findings indicate an unexpectedly high stellar
mass density, which contradicts the prediction of the $\Lambda \rm CDM$ model.
We adopt the Chevallier--Polarski--Linder (CPL) parameterization, one of the
dynamic dark energy models, to probe the role of dark energy on shaping the
galaxy formation. By considering varying star formation efficiencies within
this framework, our analysis demonstrates that an increased proportion of dark
energy in the universe corresponds to the formation of more massive galaxies at
higher redshifts, given a fixed perturbation amplitude observed today.
Furthermore, through elaborately selecting CPL parameters, we successfully
explain the JWST observations with star formation efficiencies
$\epsilon\gtrsim0.05$ at a confidence level of $95\%$. These intriguing results
indicate the promising prospect of revealing the nature of dark energy by
analyzing the high-redshift massive galaxies.
