There are so many things that I love about the Bible, but I especially like the fact that the Bible doesn't try to hide all the dirty laundry. Did you ever have a friend call and say "I'm in your part of town and I thought I'd stop by for a visit. I'll be there in 10 minutes." You weren't expecting company and, after a hectic work week, the laundry is piled up and clothes are lying around pretty much all over the place. You jump up and start sticking your dirty laundry anywhere that will be out of sight of your guest. No one wants their dirty laundry seen!
I like it that the Bible doesn't do that; the Bible "lets it all hang out"! The good, the bad and the ugly are there for all to plainly see! Some of the greatest Bible heroes were some of the world's worst sinners at some time in their lives! King David was a man after God's own heart, but he was also a murderer and adulterer! Solomon was the wisest man who ever lived, but he was an idolater! Abraham was a great hero of faith, but he lied and told the pharaoh that she was his sister to save his own neck! On and on it goes, all that dirty laundry right out in public! If were trying to write a book promoting my religion, I think I would probably emphasize the good and leave the ugliness hidden!
But God knows that we are all just flesh and blood and we all make mistakes and sometimes sin. He wants us to know that there is forgiveness for all things through faith and repentance! He wants us to know that He is the God of "another chance"! He wants us to know that He knows and understands what we go through down here! The Bible is not a Jewish/Christian propaganda book. It is the word of a loving God to all his creatures!
God doesn't hide the dirty laundry because, with the exception of the righteousness of Jesus, it's all dirty laundry to Him! But the good news is that all that dirty laundry can be washed whiter than white by the blood of the lamb, Jesus the Christ!