"An immensely powerful but limited being, limited by anything, is not God - by definition - and not interesting."
IIThessalonians 2:3 And for this cause God shall send them strong delusion, that they should believe a lie:
Sound powerful enough.
That quote from Thessalonians would be the Bible directly saying "God lied" (sending delusions is lying).
Elsewhere, someone quoted a different passage of the Bible, from Hebrews, by the same author even (probably) that says "God cannot lie".
So apparently, according to the Bible, God cannot lie, except when He does.