"teach a lesson" is something you do to a kid . It does not work when talking about politics or policy. No one, China or the US, wants a prolonged situation where a lot of people are made worse off. Learn from mistakes and move on. But I am not sure how Trump could have thought this would work.