Thanks for the comment.
My view is that BOTH views are true.
{1} MY OP's view
and
{1) A direct reference to Psalm 22
Start quote.
"There is another possible reason for Jesus to cry out, “My God, my God,
why have you forsaken me?” It could be that Jesus’ intent in quoting
Psalm 22:1 was to point His hearers to that psalm. When they read
Psalm 22, they would no doubt see the many fulfilled prophecies
included in that song of David. Even while experiencing the agony
of the cross, Jesus was teaching the crowds and proving yet again
that He was the Messiah who fulfilled the Scripture"
End quotehttps://www.gotquestions.org/forsaken-me.html
Best.
JAG
``