Psalms 40:8

6 Sacrifice and offering You did not desire, but my ears You have opened. Burnt offerings and sin offerings You did not require.

7 Then I said, “Here I am, I have come— it is written about me in the scroll:

I delight to do Your will, O my God; Your law is within my heart.”

9 I proclaim righteousness in the great assembly; behold, I do not seal my lips, as You, O LORD, do know.

10 I have not covered up Your righteousness in my heart; I have declared Your faithfulness and salvation; I have not concealed Your loving devotion and faithfulness from the great assembly.

Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
I delight to do Your will, O my God; Your law is within my heart.”
KJV
I delight to do thy will, O my God: yea, thy law is within my heart.
WEB
I delight to do your will, my God. Yes, your law is within my heart.”
ASV
I delight to do thy will, O my God; Yea, thy law is within my heart.
DARBY
To do thy good pleasure, my God, is my delight, and thy law is within my heart.
BLB
I have delighted to do Your will, O my God, and Your law [is] in the midst of my heart.”
ÅB
Å gjøre din vilje, min Gud, er min lyst,
og loven din er i mitt innerste.»
OTB
Jeg gleder meg i å gjøre din vilje, min Gud;
Din lov er i mitt hjerte.”
B1930
å gjøre din vilje, min Gud, er min lyst, og din lov er i mitt hjerte.

Study notes (Tyndale)

Original text and word study

Cross references