I am getting divorced, how much details about my husband's mistakes do I fill the kids in on so they know how rotten he was to me?

I want them to know the truth and the 13 year old I have told. The 10 and 7 year old I don't want to confuse with the adultery stories. I want them to know their father is a liar so they see the truth and why I had to leave him.
Update: You all who told me "don't do it" don't know my husband. He deserves to have his children resent him, we all should. It is called being a family. I am the parent now, not him.
Update 2: Thumbs down to all, including best answer person.
27 answers 27