The First Opium War is the best example I could find: a small expeditionary force ran circles around a peer country's army for more than a year and crippled it thanks to total naval superiority and qualitatively better artillery and rifles.
The conquest of Aztecs is another example: Spain annihilated a country with twice the population. Though they cheated with bioweapons of course.