David: sin and consequences