That’s only if there is no majority of electors when the EC votes. The House votes by state, one vote per state, with 27 House delegations dominated by Republicans.
The Texas suit challenges the results of the elections in states that violated the Constitution. If those elections are tossed, then t is up to the state legislatures to select electors or to punt. We need them to select electors for Trump, otherwise Biden still has a majority of the appointed electors (if the SCOTUS “de-appoints” the Biden slates). There is still plenty of monkey business that can occur, intimidation of state legislators, rogue Reps, challenges to electors, etc. The chaos is far from over.
We wouldn’t necessarily need those state legislatures to vote for Trump. Since removing those four states from Biden’s total would drop him below 270, it would become a contingent election and the house would vote, one vote per state for POTUS, and the Senate would vote for VPOTUS, one vote per Senator.