Texas is a slight net beneficiary of federal largess. Quick googling found this table. Couldn't find more recent numbers, though another article says as of 2019, Texas now ranks #25. So middle of the pack.
Part of that is because things like eg NASA mission control or military bases have to be somewhere. And that might even stay in Texas similar to Roscosmos still operating from Baikonur in Kazakhstan. It’s not just transfer payments to programs that are designed to benefit Texans.
As our “very stable genius” of a President likes to point out, Germany and South Korea don’t exactly pay us back for stationing troops there either.
https://taxfoundation.org/federal-taxes-paid-vs-federal-spen...