TL;DR: An old testament reference to the "malevolent god". E.g. "god in the old testament wasn't so nice or forgiving.."
> In Gnosticism, the Demiurge is the lesser creator god who fashioned the material world and is often seen as the God of the Old Testament, Yahweh. Unlike the supreme, unknowable God, the Demiurge is ignorant, imperfect, and sometimes malevolent, responsible for the flaws of the physical world and the imprisonment of the divine spark within humans. Gnostic beliefs see a spiritual journey not as submitting to the Demiurge, but as a process of escaping his creation to return to the true, good God.
See also: https://gnosticismexplained.org/the-gnostic-demiurge/
The judge is an incarnation of evil and a pedophile so I don't think that's his Mary sue
Although... he did rather famously have a thing for underage girls...
https://medium.com/belover/cormac-mccarthy-was-a-pedophile-a...
I think for example about the following quote from the judge, an insatiably curious (and evil) character from Blood Meridian:
> Whatever exists, he said. Whatever in creation exists without my knowledge exists without my consent.
Cormac's personal library contained "upwards of 20,000 volumes." Turns out, that wasn't the judge speaking but McCarthy himself.