Judaism of late antiquity was rife with schisms and sects. It was a time bursting with religious ingenuity fueled by desperation and disappointment. Through extensive exegesis many had formulated detailed predictions of what a Jewish Messiah would be like and do to demonstrate his credentials. OT passages were not only given new enhanced meaning they were downright wrung of any drip of messianic portent. Also, a popular imagining was the repetition of specific OT scenes such as power over waters, raising dead, fasting 40 days, even miraculously destroying a city's walls. A "Messiah Cycle" a widely held pattern or story board of sorts became established through many years of repetition, eventually details of what the Messiah would do and come from cemented into a motif. The OT itself did not in any obvious way direct readers to so speculate, but to the eyes of desperate creative minds the verses were speaking volumes not actually in the text. The messianic texts of Qumran are a classic of such ingenuity. Rabbinic works are teeming with this stuff as well. Josephus recounts quite a few would-be Messiahs, including details such as their promising to split the waters of the Jordan or make the walls of Jerusalem to crumble. Readers of the book of Mark and it's expansions in Matt, Luke and even John can't help but see these OT allusions and repetitions. The OT was mined for story elements of the ancient messianic figures, especially Moses, Samuel, Elisha/Elijah. What to modern literalist readers might appear as incredible miraculous prophetic fulfillments (even when no prophesy existed) are actually typological window dressing for the story.
A neat example, new to me, is what was not so much an OT text itself but a legend associated with the OT story of the Egypt exile. A popular elaboration on the story has the tribe of Ephraim escaping Egypt early and trying to capture the promised land but failing to do so. The Leader/Messiah was named Messiah ben (son of) Joseph. He was a builder/craftsman.
This tradition spawned messianic speculation that a future Messiah who, while heroic in his efforts, is killed in battle with the forces of evil. The Messiah ben David, then comes to complete the conquest. It certainly fits the pattern of Jesus son of Joseph, the man who tries to save Israel but fails and is killed. But as Jesus son of David the conquering king he saves he world. Wiki has a nice page on this: Messiah ben Joseph - Wikipedia
If anyone has an example to share we can discuss it.