This so-called prophecy seems to re-enforce the idea that G-d impregnated Mary and thus Jesus is His son. Yet, G-d is the father of all mankind. Line 27 (line 26 in Christian versions which tend to not number the first line, or not print it) is speaking of King David himself -- not Jesus. Read it in context.
Likewise, nowhere in the psalm are we told the messiah will call G-d his father (notice the capital "H" -- as if Jesus himself were a god?). . .
T'hillim / Psalm 89:21-27 "I found David My servant, I anointed him with My holy oil. With whom My hand will be established, even My arm will strengthen him. No enemy will exact from him, neither will an unjust person afflict him. And I shall crush his adversaries from before him, and I shall strike his enemies. . . He will call to Me, 'You are my Father, my G-d, and the Rock of my salvation.'"
The psalm is not a messianic prophecy (none of the psalms are prophecy, although some reference existing prophecies). It is a grief stricken poem about the glory of the Davidic dynasty -- and its fall, only to eventually rise again with the messiah (the end of the psalm, not line 26 and not Jesus).
T'hillim / Psalm 89:1 says "A maskil of Ethan the Ezrahite." אֵיתָן / Etan (Ethan), the author of this psalm, is mentioned in M'lachim Alef / 1 Kings 5:11-11 "And Solomon's wisdom was greater than the wisdom of all the children of the east, and all the wisdom of Egypt. And he was wiser than all men, than Ethan the Ezrahite, and Heman, and Chalcol, and Darda, the sons of Mahol, and his fame was in all the nations round about."
The psalm speaks of G-d's eternal promise to King David that it will be David's children, through his son Solomon, who forever have the right to the Jewish throne. T'hillim / Psalm 89:4 "I (G-d) formed a covenant with My chosen one; I swore to David My servant. Until eternity, I shall establish your biological descendants, and I shall build your throne for all generations forever."
But, although the promise is eternal the psalm re-enforces what we have been told in Shmuel Beit / 2 Samuel 7:12-16 and Divrei Hayamim Alef / 1 Chronicles 17:12-16, and Divrei Hayamim Alef / 2 Chronicles 22:9 -- the throne is eternally the biological sons of David and Solomon, but due to the sin of Solomon G-d will punish the family until either they deserve to regain the throne -- or until a set time arrives. This is found in M'lachim Alef / 1 Kings 11:39.
T'hillim / Psalm 89 is re-enforcing what we have been told in those other passages. G-d promised David that his throne shall endure for eternity and achieve widespread fame and success (verses 4-5, 20-38), but when (if) David's heirs sin and are punished -- the guarantee will not go away. Even though David's descendants sin and must be punished, they will not forfeit the right to the monarchy (verses 31-38).
Is it possible that Jesus was the promised descendant of David who would be given the throne?
No -- Jesus was never an anointed king of the Jews. Jesus was not a biological descendant of Kings David and Solomon (this must be passed with the sperm of the Jewish male descendant of those Kings impregnating a Jewish woman who is a wife or concubine). None of that was true with Jesus. This has been discussed at length in other blog posts. See #47. 1 Samuel 2:10 - Shall be an anointed King to the L-rd - Matthew 28:18; John 12:15 and #54. 1 Chronicles 17:11 David's Seed Matthew 1:1; Matthew 9:27.
The psalm concludes with the words "Blessed is the L-rd forever. Amen and Amen." G-d punishes us, but He does not desert us. While Jews have been exiled for thousands of years, one day the true messiah will come and the Davidic dynasty will be restored.