Was King David a good dad?

King David was known for many things, slaying Goliath, writing many of the Psalms, but how was he as a Dad to his more than 20 children?