A lot of the world is also thrilled with the defense support provided to them by the US. We don't remain in countries like Germany, Italy, Greece, Spain, etc by force. We do so because they couldn't defend themselves without us and they know it - so they request our presence. A lot of these allied nations are participating in those very wars you complain about, but naturally their involvement is usually much smaller since they lack the infrastructure to compete with the US.
When you say "a lot of the world" you really talking about a very specific subset of the world, while there is also much of the world grateful for our presence as we are the only real deterrent from NK, Russia, or China taking their country by force. Feel free to deny or say that I'm "othering" or am perpetuating a boogey-man, but there is very real data and intelligence to support these claims, I'm not just pulling it out of my ass.