Such a view is essential to any theistic view of the universe which postulates God as the Creator, omniscient and all-good.
And then there's you, their omniscient, omnipotent deity.
His power is limitless, his anger at wrong-doing unassuageable, and he is omniscient.
The omniscient God, by means of His "scientia media" (the phrase is Molina's invention, though the idea is also to be found in his older contemporary Fonseca), or power of knowing future contingent events, foresees how we shall employ our own free-will and treat His proffered grace, and upon this foreknowledge He can found His predestinating decrees.
Buddhism repudiated the authority of the Veda, but found it needful to supply its place; and the word of the omniscient Teacher, faithfully reported by his disciples and guaranteed by concurrent traditions, became the rule of belief for the new Order.