We must guard against being too zealous in trying to defend the honor the Patriarch, Prophets, and Apostles, for in the Scriptures we often see them err and fall into sin and vice. We can be tempted to whitewash their acts and deeds and say, "These are the holy men of God, surely it was for a good reason that they said and acted as they did."
The Scriptures are not concerned with the honor of the individual, they are not concerned with making Abraham or David or Jeremiah or Peter look good and righteous - they are concerned with teaching us that all honor, praise, and glory be given to Christ alone, and that the saints of God are not define by their own righteous and holy living, but rather they are defined by the fact that they are declared righteous through faith in Christ on His account. The over-praise or whitewashing of the men of God in the Scriptures undercuts this. We should never think of them as having moved beyond sin or petty temptations because they were men of God - indeed, as they were men of God, Satan was surely to be around them all time with his temptations and all the more vehement with his attacks.
We must not think that the men of God of old were above the attacks of the Devil, for then we too will think, "I too am a man of God - see how I have conquered and grown." We then can subtly be twisted by Satan to look more and more to our own righteousness.
In the Scriptures we see that no man is righteous, not one - except Christ Jesus, True God and True Man. If you reading of the Scriptures leans towards over-emphasizing the righteousness of anyone other than Christ, then you are in error.
(Conversely, don't rejoice in the errors you see committed in Scripture - rather, repent yourself, and pray that you do not fall into similar shame and vice.)