Job 34:12

Yea, surely God will not do wickedly, neither will the Almighty pervert judgment.