1 Kings 8:32

ISV(i) 32 then listen in heaven, act, and judge your servants, condemning the wicked by bringing back to him the consequences of his choices and by justifying the righteous by recompensing him according to his righteousness.