tbf, jingoism is literally what funded NASA.
And ironically the US very much considers itself to be in a race with China including in space, it's just run by such thundering morons that most of the moves they make advance China's interests more than theirs. Now the cancellation of Mars Sample Return isn't that big an issue in terms of strategic benefit or decline narratives, nor is it a particularly massive surprise (the program's issues are longer term than just current administration cuts). But there is a certain irony in some of the people most interested in scorekeeping with China (and for that matter Mars!) being the ones likely to ensure China pulls off the sample return first.
Peofle often complain that Trump is a "Russian asset" when he's done far more to boost China's success than Russia's.