While upholding treaties is vitally important, I think you’re underestimating the importance of chips(a rare occurrence on HN!).
Wars are generally fought over resources rather than ideas, and pretending that US is defending Taiwan to defend democracy instead of defending its strategic interests (access to vital resources — chips) is misguided.