Where the heck did you get the idea we lost the
War of 1812, Bubba?
The US inflicted a nearly 2 to 1 kill ratio against the British, stopped the impressment (abduction) of US sailors, and finished the war on a high note handing the British army a decisive defeat at the Battle of New Orleans.
With stalemate on the battlefields, both nations agreed to a peace that left the prewar boundaries intact.
If we'd "lost" Vietnam in a similar fashion to 1812 or even Korea, South Vietnam wouldn't be flying a communist flag today.