Or is the Bible wrong here?
Hebrews 6:18 God did this so that, by two unchangeable things in which it is impossible for God to lie, we who have fled to take hold of the hope offered to us may be greatly encouraged.
Do you think that God CAN lie?
I do not think lying is an ability. It is not something about which the word "can" is appropriately used.
I think God can always speak the truth and since "... omnia quaecumque voluit fecit," He need never lie. He never wants to.