Doing what is right is not simply performing the action, it is also in performing it in the right manner. Saul did obtain what he saw to be the objective; defeat the Amalekites. God's objective was further into proving the obedience of Israel; Saul being chief.
2012 - pBiblx2 Field Wise Bible System Version 2.0.9d - GPL3