Melchizedek from the Dead Sea s The Dead Sea Scrolls/The Melchizedek Scroll. page 188

…According to the fragment, Melchizedek is the eschatological judge; ‘it is written of him in the songs of David, who said: “G-d [Elohim] has taken His place in the divine council; in the midst of the gods He will hold judgement”‘. Melchizedek is here called G-d [Elohim]… The author of the text, to clarify his idea, quotes [in lines 10-11] a further verse from the Psalms as referring to Melchizedek: ‘For their sakes, return on high, the L-rd will judge the nations’ [Ps. 7:7-8]. This Last Judgement will, therefore, take place on high, and on that occasion–as we learn from lines 9 and 14–Melchizedek will be assisted by all the celestial powers. ‘Belial, and the spirits of his lot’, will then be judged, ‘and Melchizedek will vindicate G-d’s judgments’ [1,12]. He will thus not only pass judgment but also execute it. If the editor of the text has reconstructed line 8 correctly, this will be the time ‘for the atonement of all children of light and those who belong to the lot of Melchizedek’; in any case, line 5 mentions ‘the heritage of Melchizedek’. During the last judgment, therefore, Melchizedek will seperate the righteous, who are his lot and heritage, from the wicked, among them Belial and the spirits of his lot,…on whom he will wreck vengeance for transgressing G-d’s judgment. Melchizedek thus appears here as very similar to the Son of Man of the Book of Enoch and of the Gospels: ‘When the Son of Man comes in His glory, and all the angels with Him, then He will sit on his glorious throne. Before Him will be gathered all the nations, and he will seperate them one from the other as a shepherd separates the sheep from the goats, and He will place the sheep at His right hand, but the goats at His left…’ [Matt. 25:31-46]

page 190 The story of the miraculous birth of Melchizedek is based upon a difficult verse of Psalms 110 [verse 3]. The Hebrew text has ‘…’. The LXX translates, ‘From the womb, before the morning star, I have begotten thee.’ The rendering ‘I have begotten thee’ is based upon the spelling ‘…’. If one begins with the assumption that, in Psalms 110, G-d addresses Himself to Melchizedek, the text from which the LXX translated almost compels the conclusion that ‘the Word of G-d has created’ Melchizedek in the womb of his mother [as in the ‘Book of the Secrets of Enoch’, page 81]….
It is clear, however, that they believed–like the author of Hebrews– that Melchizedek was immortal as Enoch and Elijah were. Only on that premise is it possible to explain their view that Melchizedek will be judge in the Last Judgment….