1 Samuel 25:39

On hearing that Nabal was dead, David said, “Blessed be the Lord, who has upheld my cause against the reproach of Nabal and has restrained His servant from evil. For the Lord has brought the wickedness of Nabal down upon his own head.” Then David sent word to Abigail, asking for her in marriage.
BSB · Berean Standard Bible
And when David heard that Nabal was dead, he said, Blessed be the Lord, that hath pleaded the cause of my reproach from the hand of Nabal, and hath kept his servant from evil: for the Lord hath returned the wickedness of Nabal upon his own head. And David sent and communed with Abigail, to take her to him to wife.
KJV · King James Version
When David heard that Nabal was dead, he said, “Blessed is the Lord, who has pleaded the cause of my reproach from the hand of Nabal, and has kept back his servant from evil. The Lord has returned the evildoing of Nabal on his own head.” David sent and spoke concerning Abigail, to take her to himself as wife.
WEB · World English Bible
And when David heard that Nabal was dead, he said, Blessed be Jehovah, that hath pleaded the cause of my reproach from the hand of Nabal, and hath kept back his servant from evil: and the evil-doing of Nabal hath Jehovah returned upon his own head. And David sent and spake concerning Abigail, to take her to him to wife.
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

Blessed
1 Samuel 25:32; Judges 5:2; 2 Samuel 22:47–49; Psalm 58:10, 11; Revelation 19:1–4
pleaded
Proverbs 22:23; Lamentations 3:58–60; Micah 7:9
kept his servant
1 Samuel 25:26, 34; Hosea 2:6, 7; 2 Corinthians 13:7; 1 Thessalonians 5:23; 2 Timothy 4:18
hath returned
2 Samuel 3:28, 29; 1 Kings 2:44; Esther 7:10; Psalm 7:16
to take her
It is probable that David had heard that Saul, to cut off his pretensions to the throne, had married Michal to Phalti; and this justified him in taking Abigail, it not being then unlawful for a man to have several wives. This conduct of David's corresponds with the manner in which the Oriental princes generally form their matrimonial alliances. "The king of Abyssinia," says Mr. Bruce, "sends an officer to the house where the lady lives, who announces to her that it is the king's pleasure she should remove instantly to the palace. She then dresses herself in the best manner, and immediately obeys. Thenceforward he assigns her an apartment in the palace, and gives her a house elsewhere in any part she chooses."
Proverbs 18:22; Proverbs 19:14; Proverbs 31:10, 30