Deuteronomy 21:9

9 And so, by doing what the Lord requires, you will not be held responsible for the murder.

Deuteronomy 21:9 Meaning and Commentary

Deuteronomy 21:9

So shalt thou put away the guilt of innocent blood from among
you
Which otherwise, the person not being found out, and brought to just punishment for it, would devolve upon the whole. Aben Ezra interprets it the punishment of innocent blood, which, by the above method being taken, would not be inflicted on them:

when thou shalt do that which is right in the sight of the Lord;
as it was to observe this law concerning the beheading of the heifer, with all the rites and ceremonies belonging to it here enjoined; as well as every other command, statute, and ordinance of the Lord, which are all right to be done, ( Psalms 19:8 ) .

Deuteronomy 21:9 In-Context

7 and say, "We did not murder this one, and we do not know who did it.
8 Lord, forgive your people Israel, whom you rescued from Egypt. Forgive us and do not hold us responsible for the murder of an innocent person.'
9 And so, by doing what the Lord requires, you will not be held responsible for the murder.
10 "When the Lord your God gives you victory in battle and you take prisoners,
11 you may see among them a beautiful woman that you like and want to marry.
Scripture taken from the Good News Translation - Second Edition, Copyright 1992 by American Bible Society. Used by Permission.