Only Text Quote

Does the end justify the means? Or should it be, Do the ends justify the mean; do the extremes justify moderation?