The Jewish book I read had the impression that King David did not obey God.