David and divine discipline