[40:7] 1 tn Heb “in the roll of the scroll it is written concerning me.” Apparently the psalmist refers to the law of God (see v. 8), which contains the commandments God desires him to obey. If this is a distinctly royal psalm, then the psalmist/king may be referring specifically to the regulations of kingship prescribed in Deut 17:14-20. See P. C. Craigie, Psalms 1-50 (WBC), 315.
[40:8] 3 tn Heb “your law [is] in the midst of my inner parts.” The “inner parts” are viewed here as the seat of the psalmist’s thought life and moral decision making.