So David went up there, and his two wives also, Ahinoam the Jezreelitess and Abigail the wife of Nabal the Carmelite. Bible

“the wife of Nabal the Carmelite.” It is understood in the record that Nabal had died. David was not committing adultery here but the record is pointing out that Abigail had been married before (1 Sam 25:37-42).

Commentary for: 2 Samuel 2:2