Well, some here may not like this, but here it goes.
There's a study of the evolution of language that's called "glottochronology", and when we use this along with other indications what we often see is something different than what we might have originally believed.
So many of the books were written much later than the events they cover, so often we see "predictions" whereas all of the events had already happened. The book of Daniel is just one example because it actually has a relatively late writing as compared to the events being covered.
Is this lying? No. What the author(s) are doing is to attach God to past events, whether that be done correctly or not isn't the important issue. What is important, at least as far as I'm concerned, is what are the general morals and values that we can derive from these narratives. In this vein, whether the narrative is objectively accurate or not isn't really that important, but what we can learn from that narrative that might be applicable today is.