Abigail (literally named "her father's joy") was the second wife of King David of Israel in the Bible's Old Testament. She is only mentioned in the Book of First Samuel and in Second Samuel. David and Abigail had a son named Daniel.
Marriage to Nabal
At one point in her life Abigail was married to a wealthy livestock owner named Nabal. Nabal was a mean and hateful man whereas Abigail was both intelligent and beautiful. Nabal was a Calebite and since he was very unkind in comparison to Abigail's noble character, she was probably married to him for his wealth.
Dealings with David
When David was on the run from Saul, he encamped near the land of Abigail's husband. Since Nabal was nearby, David sent messengers to Nabal to see if he would give him and his army some food. Nabal rejected to give David any food, and so one of the servants complained to Abigail about her husband. Abigail quickly responded by gathering two hundred loaves of bread, two skins of wine, five sheep and abundance of other food and loaded it all onto some donkeys. She then sent some servants on ahead of her and followed behind with her own donkey, all of this without telling her husband.
As she rode her donkey into a mountain ravine she came and met up with David. When Abigail saw the mighty king David she quickly dismounted and prostrated before David on the ground. She then pleaded for David to ignore her husband's unkind behavior, because it was his nature. She then asked David to take the gifts she had brought him and to remember her servanthood when David achieved victories.Abigail was then blessed by David. Her gifts were then accepted by David and she was sent home peacefully, with her request to spare Nabal granted.
When Abigail returned to her husband, he was drunk. Once Nabal was sober again Abigail told him what she had done for David. Then Nabal's heart failed and ten days later he died. Abigail was now widowed, so David hearing of her husband's death asked her to become his wife (perhaps because of her intellect and beauty, but perhaps also to repay her for her good deed). Servants arrived at Carmel and notified Abigail of the marriage invitation and she came obediently. She bowed respectfully and told David she was his servant ready to serve. Immediately Abigail mounted her donkey, bringing her five maids with her and became his wife.
Consort of David
While Abigail was the wife of David she served as Co-Queen Consort of David. While she herself was not a monarch, as a Queen she would've been highly esteemed as the wife of the reigning of King. Unfortunately for Abigail, David had several other wives, thus dividing the King's attention and causing David's relationship with her to be less special. As a "Co" Queen Consort, Abigail had to share this responsibility with David's other wives.
In the Land of the Philistines
It came to a point in David's running from Saul, where he decided to move to to the Land of the Philistines in order to hide. David brought his army with him and their families, including his own two wives: Ahinoam and Abigail. Beforehand Abigail had lived in Carmel with her former husband Nabal, and then in Hebron with David. Now Abigail would live in the Philistine city-state of Gath, under the protection of the King Achish. Abigail lived in Gath with her husband David for a year and four months.
Eventually Abigail's husband and his army were expelled from the Land of the Philistines and so they moved to Ziklag. Shortly thereafter the Amalekites raided Ziklag while David and his men were away. They also took captive all the residents of the city, including Abigail.