Did M actually have a point?
https://tvtropes.org/pmwiki/pmwiki.php/StrawmanHasAPoint/Film
License to Kill is probably the only Bond movie in which M is depicted as an out and out antagonist. We're supposed to hate M here because he isn't sympathetic or supportive (M is especially heartless when Bond reminds him that an innocent woman, Della Leiter was killed) of Bond regarding his personal vendetta against Franz Sanchez. But in some respects, wasn't M actually right about not wanting Bond to pursue Sanchez?
Bond inadvertently or indirectly gets his friend Sharkey killed during his mission. Bond also unintentionally screws up Kwang's undercover operation against Sanchez. It's debatable over whether or not M knew that there were already people (or more specifically, the extent) in Isthmus City working against Sanchez. Either way, even Pam at one point calls Bond for letting his personal vendetta endanger a critical DEA plan to cripple Sanchez's operation.