David had also married Ahinoam of Jezreel. So she and Abigail were both his wives.
David also took Ahinoam of Jezreel; and they became both of them his wives.