The relevant Scripture is 2 Chron. 18:
"I saw the LORD sitting on his throne with all the multitudes of heaven standing on his right and on his left. And the LORD said, ‘Who will entice Ahab king of Israel into attacking Ramoth Gilead and going to his death there?’(It occurs to me that Descartes should've recalled this passage when he was ruling out the possibility that our consciousness is the work of a deceiving spirit.)
“One suggested this, and another that. Finally, a spirit came forward, stood before the LORD and said, ‘I will entice him.’
“‘By what means?’ the LORD asked.
“‘I will go and be a deceiving spirit in the mouths of all his prophets,’ he said.
“‘You will succeed in enticing him,’ said the LORD. ‘Go and do it.’"
The NY Mag reporter was unable to get direct confirmation:
God could not be reached for comment by press time, because, a spokesman says, he was helping a baseball player hit a game-winning home run, giving an old churchgoing lady the winning lottery numbers, making sure that a plane made it through the turbulence okay, helping someone survive a heart attack, and also, just for fun, creating a new animal that's like a cross between a leopard and an alligator.