2 Samuel 12:28
Now therefore gather the rest of the people together, and encamp against the city, and take it: lest I take the city, and it be called after my name. Now therefore gather the rest of the people together, and encamp against the city, and take it: lest I take the city, and it be called after my name.
This verse belongs to the account of David's adultery and murder, set during the war against the city in which David had Uriah killed. David made Uriah the bearer of his own death-warrant to Joab, directing him to put Uriah in the forefront of the hottest battle and then withdraw from him so that he would be struck down and die. Joab obeyed, and Uriah fell by the sword of the children of Ammon. Joab then sent the news of the war to David in words carefully chosen so as to implicate neither Joab nor David, ending with word that Uriah the Hittite was dead also. David answered that the sword devours one as well as another, and ordered Joab to make the battle stronger against the city and overthrow it and be encouraged.
At that time David had departed from God and become for the time the agent of evil, yet he still held the position and authority God had given him and claimed an obedience that would imperil the soul of him who yielded it. Joab, whose allegiance was given to the king rather than to God, transgressed God's law because the king commanded it. David's power was given by God to be exercised only in harmony with the divine law, and when he commanded that which was contrary to God's law it became sin to obey. Though the powers that be are ordained of God they are not to be obeyed contrary to God's law, and human leaders are to be followed only as they follow Christ.