If you look at Whedon's pre-Marvel career, he increasingly abandons the idea of a good-evil duality and becomes increasingly interested in exploring morally ambiguous characters who just do what seems to them like a good idea at the time but often turns out to be a horrific mistake.
In retrospect, that seems in keeping with Whedon's behavior at the time.