This is another place where the translators make choices and it comes out different. I find that the NASB clashes with the principles God wants us to live by. I find that the KJV makes sense. One difference is the word that KJV translates “retain” (8551) and the NASB gives as “attains”. The word itself is neutral in moral value. It can be negative as,
(Pro 5:22 KJV) His own iniquities shall take the wicked himself, and he shall be holden (8551) with the cords of his sins.It can also be positive,
(Pro 31:19 KJV) She layeth her hands to the spindle, and her hands hold (8551) the distaff.So? I would say that one of the jobs of a man is to maintain the family wealth instead of squandering it. Other places may include the women in this task but here it is a recommendation to the husband.