The first rule in warfare is aim. Target selected, target engaged, target destroyed.
The same rules of selecting and maintaining a clear aim apply when the military is sent on humanitarian missions.
For example, we are going to Libya to remove a dictator who is killing pro-democracy demonstrators.
An example of how to miss the mark? We are going to Libya to bomb stuff, but we surely are not there to remove the illegitimate and flamboyantly dressed leader. Because regime change is bad. Very bad. We wouldn't dream of it.
The hypocrisy meter is off the charts.