Contradiction in Scripture-David's Sins: Is it a contradiction in scripture when it indicates that David kept God's commandments, except for Uriah, and yet he also sinned when he took a census? [I Kings 15:5, I Chronicles 21, Matthew 12:4]. David's Sin in Taking the Census: Why was it a sin for David to take the census? [I Chronicles 21].