One of the primary utterances in the Old Testament about God is his faithfulness. Here is Walter Brueggemann in his Theology of the Old Testament:
Israel’s characteristic adjectival vocabulary about Yahweh is completely lacking in terms that have dominated classical theology, such as omnipotent, omniscient, omnipresent. This sharp contrast suggested that classical theology, insofar as it is dominated by such interpretive categories and such concerns, is engaged in issues that are not crucial for Israel’s testimony about Yahweh and are in fact quite remote from Israel’s primary utterance…
…given the range of recital of adjectives concerning Yahweh in the stylized testimony of Israel, the primary propensity of Israel is to focus on Yahweh’s fidelity, expressed particularly in the terms of merciful, gracious, abounding in steadfast love, and faithfulness…
Israel praises God for being true and faithful. Just their praise for this is evidence that God is not forced to be so. You do not praise a robot for cleaning the floor, the robot had no choice in the matter. Because God is faithful and true, we should praise him for being so.
In 1942, Corrie Ten Boom hid Jews from the Nazis. She then lied to the Nazi’s concerning this action. Does this make Corrie Ten Boom “faithful” or “unfaithful”? Does this make her “true” or “untrue”? She is definitely true and faithful to the Jews she hid, even though she is lying to the Nazis.
God does the same. God tells us about lying to his enemies. He tells us that He first lies to our enemies and then kills them:
Eze 14:9 And if the prophet be deceived when he hath spoken a thing, I the LORD have deceived that prophet, and I will stretch out my hand upon him, and will destroy him from the midst of my people Israel.
In 1 Kings 22, we see this in action where God lies to 400 false prophets at once:
1Ki 22:23 Therefore look! The LORD has put a lying spirit in the mouth of all these prophets of yours, and the LORD has declared disaster against you.”
So is God truth, true, and faithful? Yes. Does God lie to his enemies? The Bible says so.