In genesis 38, In the original language, God gives us a prophecy of david.
Count every 49 letters and we find Boaz. Following that, we find Ruth. If we keep going we find obed. Followed by Jesse and then David. But the Bible is just a collection of stories told by illiterate shepherds
Or so we're told.