22 If someone guilty of a capital offense is put to death and their body is exposed on a pole,

Read Deuteronomy 21:22 Using Other Translations

And if a man have committed a sin worthy of death, and he be to be put to death, and thou hang him on a tree:
"And if a man has committed a crime punishable by death and he is put to death, and you hang him on a tree,
“If someone has committed a crime worthy of death and is executed and hung on a tree,