You can ground this idea a few different ways. One way would be in the wisdom tradition of the Old Testament, that wisdom created and pervades the universe giving it a moral grain. In the New Testament the "grain of the universe" can be grounded in a cosmic Christology, like in Colossians 1.17: "In him all things hold together." The Logos of John 1 also comes to mind.
Recently, I was struck how Hebrews 4.12-13 can also be a resource here:
For the word of God is alive and active. Sharper than any double-edged sword, it penetrates even to dividing soul and spirit, joints and marrow; it judges the thoughts and attitudes of the heart. Nothing in all creation is hidden from God’s sight. Everything is uncovered and laid bare before the eyes of him to whom we must give account.In the tradition I grew up in, I've tended to think of the "word of God" in this passage as the Bible, and the moral judgment created by the word as Judgment Day. But if we think of the word of God as being the Logos that created and holds the cosmos together, we can read Hebrews 4 as being about the grain of the universe.
Everywhere and at all times, pervading all the nooks and crannies of the universe, is the living and active word of God.
This is the grain of the universe that exposes and reveals the value of every event, action and thought. The issue here is less about being judged by a book at some future judgment than about bringing yourself into alignment with the moral grain of the universe.