The expression “sons of the true God” occurs at Job 1:6, and here the reference is obviously to spirit sons of God assembled in God’s presence, among whom Satan, who had been “roving about in the earth,” also appeared. (Job 1:7; see also 2:1, 2.) Again at Job 38:4-7 “the sons of God” who ‘shouted in applause’ when God ‘laid the cornerstone’ of the earth clearly were angelic sons and not humans descended from Adam (as yet not even created). So, too, at Psalm 89:6 “the sons of God” are definitely heavenly creatures, not earthlings
Also supporting this are the apostle Peter’s references to “the spirits in prison, who had once been disobedient when the patience of God was waiting in Noah’s days” (1Pe 3:19, 20), and to “the angels that sinned,” mentioned in connection with the “ancient world” of Noah’s time (2Pe 2:4, 5), as well as Jude’s statement concerning “the angels that did not keep their original position but forsook their own proper dwelling place.” (Jude 6).