thank you sister. i think that would be discouraging to women who can't have children. we need to look at the specific circumstances regarding that hadith. the ulama say that some of the Prophet (SAW)'s commands were for specific situations and can't be used as a general command. of course only an aalim will be able to tell you which are and which aren't. (I don't agree with some of the examples the book cited because they seemed more general to me - like the case of Abu Sufyan's wife when she complained about Abu Sufyan being a miser and the Prophet SAW told her she could take what she needed from his money for her and her children's expenses. this case seems general but some ulama (scholars) say that it was specific for her case and the judge will have to see individual cases and decide for each one separately. I personally think, as do other scholars, that the ruling in that hadith can be used by every woman who's husband is a miser and doesn't spend money on his family. And Allah knows best). but regarding the case of the woman who didn't bear children, it's very much possible that it ruling regarding that particular man and woman and and the ruling might not be general and every case would have to be judged individually.
you would need to see whether the man in the hadith was married before, did he have children, the religiousness and knowledgeability of the woman, whether she had been married before, etc.
Allah knows best but i believe that none of the rulings of islam are such that they cause difficulties for anyone. a man with another wife and children would probably not have been stopped from marrying a divorcee or widow who couldn't bear children.
and Allah knows best.