Please mention the Hadith which states that despite the husband taking care of the wife to the best of his ability, she complains and is ungrateful.
You are probably referring to the following Hadith recorded in Sahih Bukhari and Sahih Muslim:
Sayyiduna ‘Abdullah ibn ‘Abbas (radiyallahu ‘anhuma) reports that Nabi (sallallahu ‘alayhi wa sallam) said, “…I was shown Jahannam and most of its inhabitants were women who were practising kufr (disbelief/ingratitude).’ Nabi (sallallahu ‘alayhi wa sallam) was asked, ‘Did they practise disbelief in Allah?’ He replied, ‘They were ungrateful to their husbands and ungrateful when any good was done for them. If you were always good to one of them and then she saw something [that she disliked], she would say, “I have never seen any good in you at all!”
(Sahih Bukhari, Hadith: 29-1052-5197 and Sahih Muslim, Hadith: 907)
And Allah Ta’ala Knows best.
Answered by: Moulana Suhail Motala
Approved by: Moulana Muhammad Abasoomar with the following note:
This Hadith has highlighted a cause for women entering Jahannam in general.
This does not denote that all women are doomed for Jahannam. Just as there are several Hadiths that warn men of Jahannam.
In fact, this should be considered a favour of Nabi (sallallahu’alayhi wasallam) in having informed women of what bad qualities to stay free from in order to attain salvation from Jahannam.
Checked by: Moulana Haroon Abasoomar