Our system of drawing up congressional districts is ripe for abuses. Both parties do it. The judicial system has at least tried to limit those abuses by the threat of continued denial if they're not somewhat reasonable at least at the macro level.
While the system sucks, I don't see a better one. Yes I would prefer a system where we apportion the seats by a statewide vote. Say Texas goes 56%-42%-2% (2024 Texas presidential results.) That rounds to giving the seats to 21 (GOP), 15 (Dem) and 1 Ind. But who and how do we decide who gets to go to DC, and do they really represent their constituents?
On the flip side, nationwide system looks to balance itself. Trump beat Harris on the popular vote 49.8%-48.3. The House is relatively close to these percentages. But if Texas goes crazy to disenfranchise Dems, then Dems need some blue states to follow like CA to disenfranchise republicans.