You beat me to it. And the difference this time is that China has the capacity to out produce us and a population many times bigger to draw combatants from. The war against Japan was a war of attrition that Japan could not win in the long run. China can.
…you forgot to mention a war with China requires us to have the abilities to defend an 8,000 mile supply line. That isn’t happening without heavy losses.
…..America ( and the West) has no stomach ( or understanding) in a war of attrition, as we are witnessing. China and Russia does.