This statement is wrong and irresponsible. There is no relationship between women and dogs. Women are a gender among humans. Their thoughts, behaviors and emotions have their own independence and diversity. They cannot simply be described as "dog-hearted".
This statement is not only unfair, but may also cause sexism and hurt women's feelings. We should respect and treat all humans and animals equally and not use irresponsible remarks to harm others.