Here’s a passage from Pastor Randy Booth’s article “The Trivium in Biblical Perspective.” He develops the idea of dialectic in the Scriptures.
Understanding (dialectic) in Scripture is directed toward discerning good from evil, truth from falsehood. In other words, the one who has understanding has good judgment. He comprehends the right relationship of the particular pieces of knowledge to the whole. This is the syntax or logic of learning. King Solomon prayed, “So give Thy servant an understanding heart to judge Thy people to discern between good and evil” (1 Kings 3:9). Job observes, “And to depart from evil is understanding” (28:28). Genuine understanding is evidenced in obedience to the truth as we see in these passages from Psalms: “A good understanding have all those who do His Commandments” (111:10); “Give me understanding, that I may observe Thy law, and keep it with all my heart” (119:34); “Give me understanding, that I may learn Thy commandments” (119:73); “From Thy precepts I get understanding; therefore I hate every false way” (119:104). The Proverbs observe: “a man of understanding walks straight” (15:21) and “The rich man is wise in his own eyes, but the poor who has understanding sees through him” (28:11). God complains to Jeremiah, “For My people are foolish. They know Me not; they a re stupid children, and they have no understanding. They are shrewd to do evil, but to do good they do not know” (4:22). Daniel and his companions were described as those who were “endowed with understanding, and discerning knowledge” (Dan. 1:4). The apostle John points us to the ultimate purpose of understanding when he writes, “And we know that the Son of God has come, and has given us understanding, in order that we might know Him who is true…” (1 John 5:20).