Catechism of the Council of Trent
1693
Part III. The Eighth Commandment
Witnesses Must Give Testimony Truthfully
With regard to an accused person who is conscious of his own guilt, God commands him to confess the truth, if he is interrogated judicially. By that confession he, in some sort, bears witness to, and proclaims the praise and glory of God; and of this we have a proof in these words of Josue, when exhorting Achan to confess the truth: My son, give glory to the Lord the God of Israel.