Shared ground
Psalm 40:6–8 contrasts two kinds of “response” to God. The speaker lists recognized offerings (“sacrifice and offering… burnt offering and sin offering”) and says God did not desire or require them in the way he is about to explain (explicit textual claims). The alternative is that God has “opened” the speaker’s ears—God has made him able and ready to listen and respond (explicit textual claim).
The speaker’s response is personal and whole-life: “Behold, I have come,” aligning himself with what is “written… in the scroll,” and he “delight[s]” () to do God’s will, with God’s instruction “within my heart” (explicit textual claims). The passage presents obedience as inwardly held and gladly embraced, not merely performed as ritual.
Where interpretation differs
1) Does “God did not desire… sacrifices” mean rejection or priority?
Some read the lines as God rejecting sacrifices as spiritually empty when offered without listening and obedience. Others read them as a relative statement: sacrifices have a place, but they are not God’s main concern here; they are secondary to a responsive life.
2) What does “opened my ears” mean?
Many take it as a picture of God enabling attentive obedience (God makes the speaker a true hearer). Others connect it to a more concrete idea of being set apart for service, based on the strong body-language of “opened/dug ears.” Either way, the direction of meaning is toward readiness to heed God.
3) What is “written about me in the scroll”?
Some think it refers broadly to the speaker’s place in Israel’s written instruction (what God expects of a faithful worshiper/king). Others think it points to a more specific written authorization or role description known to the community. The text itself does not specify which writing.
Why the disagreement exists
The wording is compressed and poetic. “Not desire” can be absolute or comparative in Hebrew-style speech, and “opened ears” can be an idiom that invites more than one picture. “Written in the scroll” is also underspecified: the psalm doesn’t name the document or quote it.
What this passage clearly contributes
The passage insists that God’s deepest aim is not satisfied by ritual performance alone (explicit contrast in v.6). It portrays God as the one who enables true hearing and responsiveness (v.6). It frames faithful response as self-presentation (“Here I am”), glad obedience to God’s will, and internalized instruction (“within my heart”) (vv.7–8). It also links a person’s obedient stance with Israel’s written tradition (“in the scroll”), suggesting that true devotion is both inward and shaped by recognized teaching (theological inference grounded in v.7–8).