This is not a quote from an ancient text. Bildad is just saying that ancient wisdom agrees with him that the wicked do not escape judgement. There are indeed a few quotes from ancient books in the bible but they are usually introduced (e.g., Num. 21:27) and sometimes even given a source (ibid verse 14), Bildad's words however do not fall neatly into this category, so there is no reason to assume that it is onea quote.
If you mean borrowing'borrowing of language then it is important to knowlanguage', i.e., that the author may have copied Bildad's parables from an older source, that is not the case either. In fact, even biblical critical scholarship which usually looks for origins or possible influences of ANE literature on certain biblical compositions, but it almost never looks forfind direct parallels between old ANE and biblical textsthem, it is rather common motifs, themes; shared myths, legends, legendary figures, etc. that they are afterable to identify. There are a few famous direct literary parallels between biblical and ANE texts, e.g., Proverbs 22:17-24:22, which draws on an Egyptian wisdom text (the Instruction of Amenemope), and Psalm 104 which was directly influenced from the Great Hymn to the Aten (you can see here for more), but these are exceptions rather than the rule! Direct borrowing of language and parallels is more common between the biblical prophetic books themselves, but it is rare to find a direct literary parallel, never mind a quote, from an ancient ANE text in the OT.
In any case, I'm not aware of any direct borrowing of language in the book of Job. But scholarsScholars, however, do agree that the book of Job was influenced by Ancient Wisdom texts and a lot of its motifs are drawn from ancient Egyptian and Mesopotamian texts. In chapter 8 the only foreign influence I was able to find is verses 8-10 which contends that wisdom from the ancients is significant. This is a common theme in ancient Sumerian proverbs and the wisdom literature from Mesopotamia. However, no direct literary parallels are to be found in this chapter, and, needless to say, no quotes from ancient texts.