What was David's curse to Joab and his family?

That Joab and everyone in his family would always have a discharge, be a leper, lean on a staff, die with the sword, or starve to death.

Let it rest on the head of Joab, and on all his father's house; and let there not fail from the house of Joab one that hath an issue, or that is a leper, or that leaneth on a staff, or that falleth on the sword, or that lacketh bread. 2 Samuel 3:29