"And he rose from his seat" (Judges 3:20). Rav Bivai in the name of Rabbi Reuben said: Ruth and Orpah were the daughters of Eglon. The Holy One, blessed be He, said: You showed Me honor and rose from your throne for the sake of My honor. By your life, I will raise up from you a son, and I will seat him upon My throne, as it is said, "And Solomon sat upon the throne of the LORD as king" (I Chronicles 29:23). (It is written in remez 440.)
Eglon Rises for God's Honor and Solomon Springs From Him
Yalkut Shimoni on Nach 42:3
ויקם מעל הכסא. רב ביבי בש"ר ראובן רות וערפה בננותיו של עגלון היו אמר הקב"ה אתה חלקת לי כבוד ועמדת מכסאך בשביל כבודי חייך שאני מעמיד ממך בן ואני מושיבו על כסאי שנאמר וישב שלמה על כסא ה' למלך (כתוב ברמז ת"מ):