For the sake of ease I made use of an online translation of Kol Hator, written by a disciple of the Vilna Gaon concerning some allusions to the two Forces of Mashiach (Messiah) Ben Yosef and Mashiach Ben David in the Bible
There are many appellations to cover different aspects of the two meshichim. These are: “a star has come out of Jacob, and a scepter has risen from Israel” [Num. 24:17] — “Joshua son of Nun and Caleb son of Jephuneh” [Num. 14:6] — “they will obtain joy and gladness” [Isa. 35:10] — “the sons of Jacob and Yosef, Selah” [Ps. 77:16] — the light of the moon and the light of the sun [Isa. 30:26]. — There are references and hints regarding two meshichim in the Bible [i.e., a duality or plural form appears]: “your children will be students of the Lord, and your children’s peace will be abundant” [Isa. 54:13]; the two cherubim; the two apples (“spread apples about me” [Song 2:5], as is known); “rivulets of water” [Song 5:12]; the two hosts, of the right and of the left; “they will certainly come with joyful song” [the verb ’to come’ appears twice, though in a different grammatical form] (the words quoted go together with: “the one who bears the measure of seeds” [Ps. 126:6]); the learning of Torah and performance of deeds of lovingkindness — “saviors on Mount Zion” [Ov. 1:21]; guards of the walls of Jerusalem — the quality of Din and the quality of Lovingkindness; “the horns of an ox” [Deut. 33:17]; “the holy ones in the earth, and the mighty; all my delight is in them” [Ps. 16:3]; “the humble [the plural form is used] of the earth” [Ps. 76:10]; “the humble [the plural form is used] shall inherit the earth” [Ps. 37: 11]; “’the sealed deed and the open deed’” that were hidden in pottery in Anatot [Jer. 32]; “the feet of the herald” [Isa. 52:7]; the homes of the righteous about which it is written: “those who trust in the Mount of the Lord, in Mount Zion”; “the sound of your observers; they raise their voices [in unison] … because every eye [the word ’eye’ appears twice] will see when the Lord returns to Zion, ” etc. [Isa. 52:8]; “a strong city; it will be our salvation” [Isa. 26:1]; “and you strong foundations of the earth” [Micha 6:2]; the two aspects of “we will do and we will obey” [Ex. 24:7] and the return of their crowns shortly, as our Sages said on the verse: and “the redeemed of the Lord will return and come to Zion with glad song, ” etc. “they will obtain joy and gladness”;