In modern trends, the voltage profile has become increasingly critical when incorporating wind turbine energy sources because of changes in fault ride-through capabilities throughout voltage reaction. Ripple, voltage magnitude changes, and injected harmonics due to conversion switches are power quality issues for grid-integrated doubly fed induction generators (DFIG) wind sources. In this study, FACTS (flexible alternating current transmission system) devices like the static VAR compensator (SVC), thyristor controlled series compensator (TCSC), unified power flow controllers (UPFC), and static synchronous compensators (STATCOM) are used to stabilise wind energy with DFIGs. The simulation test cases using MATLAB also analyse three lines to ground fault (LLL-G) of fault measures, which showed a 9 MW that transferred to utility grid. Therefore, it is suggested to inject or absorb reactive power to stabilise the system using moth flame optimization with firebug swarm optimization (MFO-FSO). The simulation results clearly demonstrate that the proposed MFOFSO based STATCOM devices outperform the current nonlinear generalized predictive control based STATCOM, which only achieves 0.9815 per unit voltage stability, by achieving a higher voltage profile of 0.9925 per unit voltage stability with a reactive power injection of 1.82 MVAR.