You want
Garchomp to attack with EarthquakeGround later, but the opponent still has
Corviknight. While it remains Flying with no grounding or immunity-changing effects, Earthquake cannot damage it. Keeping Garchomp alive does not solve that obstacle by itself.
Who can handle Corviknight? How will Garchomp enter again afterwards? If that route is unavailable, you may need a different move or a different Pokémon to finish the battle.
A win condition is a position you are trying to reach, not a permanent star of the team. If the original attacker faints but another member gets a good opening, reassess the remaining HP, moves and reserves.
Singles connects the three Pokémon you brought; doubles connects four and their paired actions. In either format, look for what blocks your plan and which teammate can help.