Deuteronomy 21:9 in the King James Version
So shalt thou put away the guilt of innocent blood from among you, when thou shalt do that which is right in the sight of the LORD.
Context
8 Forgive, LORD, your people Israel, whom you have redeemed, and don’t allow innocent blood among your people Israel.” The blood shall be forgiven them.
9 So you shall put away the innocent blood from among you, when you shall do that which is right in the LORD’s eyes.
10 When you go out to battle against your enemies, and the LORD your God delivers them into your hands and you carry them away captive,