Deuteronomy 21:9

King James Version Bible (KJV)
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.

Read Deuteronomy 21:9 in other translations