Almost every single colonial war of independence was "almost won" by the colonizers if "policy" hadn't changed. Is this true or just imperialist propaganda?

Whether it be Portugal winning the Angolan war if it weren't for the carnation revolution or France winning the Algerian war or the Rhodesian bush war, the narrative is always the same: They almost had them, won every battle, pacified the country etc. if it weren't for the politicians losing heart. Guerrilla wars are notoriously hard to win, and it seems to me that if the majority of people in said countries wanted independence, then another 10 years of war wouldn't have solved that issue. To me this whole argument mirrors the "stab in the back" myth and gives off a slight whiff of imperialist white supremacy. Is this really the case or is the answer more complex? Could ANY of the colonial wars have been truly won? Thank you all for taking the time to read this.