Verse 28

For in his integrity he had gone and demanded punishment because Judah had wanted to burn her on the basis of the law which Abraham had commanded his children.