The British have a habit of winning battles, such as Maida, and losing the campaign. They were forced to withdraw from Italy after the battle. So, they lost the campaign.
And they failed in Egypt in 1807 and were defeated by the Turks in the Dardenelles in 1807.
And it is noteworthy that Wellington could not have accomplished what he did without the Portuguese Army trained by the British, especially their artillery, and without the guerillas. Without those he would have been driven into the sea as Moore had been.