1830's wasn't it?
Other examples of wars where there was no nation-building, just kicking the bad guys: The 67 & 73 Jewish Wars against the neighboring Arab states. The Falklands War between Britain and Argentina....circa early Maggie Thatcher (80ish?).
The Iran/Contra thing where we kicked Ortega's teeth a bit.
Those were much less complicated.
Go in, cuss, break some stuff and leave.
Surprisingly, Israel has better relationships with those nations not occupied, than with those that were. Jordan and Egypt sometimes even seem to swap spit with Israel. Lebanon and Syria, on the other hand, are a bit out of sorts.
Every God-approved war of Jewish self-defense following the founding of Israel in the Old Testament, no?
For that matter, if you kill Fagin the Thief when he's breaking into your house (Exodus 22:2), does that mean that you incure a Biblically-reciprocal obligation to adopt poor Oliver Twist? (We'll leave out consideration of Voluntary Charity, which is always nice and good; I'm talking about a theonomically-required moral obligation).