Jeremiah 22:3shaphakh
'Thus says the Lord, "Do justice and righteousness, and deliver the one who has been robbed from the power of {his} oppressor. Also do not mistreat {or} do violence to the stranger, the orphan, or the widow; and do not shed innocent blood in this place.
God commands justice and forbids shedding innocent blood.
1 Chronicles 22:8shaphakh
"But the word of the Lord came to me, saying, 'You have shed much blood and have waged great wars; you shall not build a house to My name, because you have shed {so} much blood on the earth before Me.
David barred from building the temple for shedding much blood.
1 Kings 2:5sum
"Now you also know what Joab the son of Zeruiah did to me, what he did to the two commanders of the armies of Israel, to Abner the son of Ner, and to Amasa the son of Jether, whom he killed; he also shed the blood of war in peace. And he put the blood of war on his belt about his waist, and on his sandals on his feet.