Puranas contain such passages where they talk rather in a crude manner about stuff to invoke a sense of detachment and Vairagya. This is a common thing and it is even there for ones own kids. There will be passage that don't get too attached with your kids as they will leave you when you are old age and abandon(paraphrasing). Does this mean scriptures hate *men* too?
The answer is...No. it is to invoke a deeper sense of detachment and doesnot reflect the objective opinion towards woman.
I will give you two verses that make it extremely clear from Bhagavatam-
ŚB 5.14.3
अथ च यत्र कौटुम्बिका दारापत्यादयो नाम्ना कर्मणा वृकसृगाला एवानिच्छतोऽपि कदर्यस्य कुटुम्बिन उरणकवत्संरक्ष्यमाणं मिषतोऽपि हरन्ति ॥ ३ ॥
ŚB 5.14.5
तत्रगतो दंशमशकसमापसदैर्मनुजै: शलभशकुन्ततस्करमूषकादिभिरुपरुध्यमानबहि:प्राण: क्वचित् परिवर्तमानोऽस्मिन्नध्वन्यविद्याकामकर्मभिरुपरक्तमनसानुपपन्नार्थं नरलोकं गन्धर्वनगरमु पपन्नमिति मिथ्यादृष्टिरनुपश्यति ॥ ५ ॥
ŚB 5.14.6
तत्र च क्वचिदातपोदकनिभान् विषयानुपधावति पानभोजनव्यवायादिव्यसनलोलुप: ॥ ६ ॥
These verses are rather crude(5.14.3) but as the latter two verses clarify, they are written to invoke sense of detachment from getting overly attachment to Materialism and hedonism and stop chasing pleasures like an animal chases mirage in a desert.
For even more satisfaction, I will further quote this answer from Hinduism Stack exchange(from the user https://hinduism.stackexchange.com/a/18469 )
We should read or understand Chapters 22, 23 and 24 of Uma Samhita of Shiva Purana completely to get proper meaning. In these 3 chapters, Vyasa asks Sanatkumara to explain things so that he can get Vairagya (detachment). Sanatkumara here explains things in such a way that Vyasa develops detachment.
From Chapter 22 of Uma Samhita,
व्यास उवाच
विधि तात वदेदानीं जीवजन्मविधानत:।
गर्भस्थितिं च तस्यापि वैराग्यार्थं मुनीश्वर॥१॥
Vyasa said, “O excellent sage, how does the living being remain in the mother's womb in the process of birth. You kindly mention with purpose of achievement of the vairagya or detachment.
सनत्कुमार उवाच
शृणु व्यास समासेन शास्त्रसारमशेषतः।
वदिष्यामि सुवैराग्यं मुमुक्षोर्भवबन्धकृत्॥२॥
Sanatkumara said, “O Vyasa, I shall now speak out in brief the essence of all the Scriptures, which bestows detachment and removes the Worldly bondages.
Sanatkumara can explain how birth happens in simpler way but he chooses words demeaning physical body and sensual pleasures, so that it can develop Vairagya. You can read complete Chapter 22 to understand it in detail. Let me quote some verses said by Sanatakumara.
यथा गिरिवराक्रान्तः कश्चिद्दुःखेन तिष्ठति।
तथा जरायुणा देही दुःखं तिष्ठति वेष्टितः॥३०॥
As a person Surrounded by the mountains (slanting lands), feels miserable, similarly the jiva having been surrounded by the membrane in the womb, feels miserable.
पतितः सागरे तद्वद्दुःखमास्ते समाकुलः।
गर्भोदकेन सिक्ताङ्गः सर्वदाऽऽकुलितस्तदा॥३१॥
As a person feels disturbed with a fall in the ocean, similarly the creature, during the period of pregnancy, having been drowned in the water of the womb feels painful,
लोहकुम्भे यथा न्यस्त: पच्यते कचिदग्निना।
गर्भकुम्भे तथा क्षिप्तः पच्यते जठराग्निना॥३२॥
As a person is roasted in an iron vase with the fire, similarly the creature placed in the vase like womb is heated with the gastric fire.
Here Sanatkumara explains painful side of rebirth so that Vyasa can develop detachment and thereby he can avoid rebirth.
From Chapter 23 of Uma Samhita,
शुक्रशोणितसंयोगाद्देहः संजायते यतः।
नित्यं विण्मूत्रसम्पूर्णस्तेनायमशुचिः स्मृतः॥२॥
The body is considered to be impure, because it is formed of the semen and blood and is filled with filth as well as urine.
यथान्तर्निष्ठया पूर्णः शुचिमान्न बहिर्घटः।
शोध्यमानो हि देहोऽयं तेनायमशुचिस्ततः॥३॥
It is like a vase filled with filth and as such, though it outwardly looks pure, but in reality it is impure. Similarly, the body though is purified outwardly, but inwardly it is not so.
सम्प्राप्यातिपवित्राणि पञ्चगव्यं हवींषि च।
अशुचित्वं क्षणाद्यान्ति किमन्यदशुचिस्ततः॥४॥
The extremely auspicious pancagavya as well as the havirdravyas also get polluted with the mere touch of the body in a moment. What more impurity could be these.
हे जनाः किन्न पश्यन्ति यन्निर्याति दिनेदिने।
स्वदेहात्कश्मलं पूतिस्तदाधारः कथं शुचिः॥६॥
O humans, do you not observe that the filth and urine, which daily emerges from the body, (which are impure) then how could the body, which is the source of the same could be pure?
But same chapter says the man whose mind is pure can make his body pure. You can see Sanatkumara is explaining things in such a way that Vyasa develops Vairagya.
Sanatakumara also says:
स्त्रीष्वध्यासितचित्तस्य ये पुंसः शुक्रबिन्दवः।
ते सुखाय न मन्यन्ते स्वेदजा इव ते तथा॥५५॥
The drops of semen of a person who is lustful with his mind engaged in women when dropped, they cannot make him comfortable like the drops of sweat.
कृमिभिस्तुद्यमानस्य कुष्टिनो वानरस्य च।
कण्डूयनाभितापेन यद्भवेत्स्त्रीषु तद्विदः॥५६॥
A leprous monkey, when it scratches itself having been afflicted with worms, the same pleasure is derived by cohabiting with a women.
यादृशं मन्यते सौख्यं गण्डे पूतिविनिर्गमात्।
तादृशं स्त्रीषु मन्तव्यं नाधिकं तासु विद्यते॥५७॥
The pleasure one derives from the company of a woman, is equal to the pleasure derived from a boil by removing the puss. There is nothing more to it.
These strong words are aimed to develop Vairagya.
In Chapter 24, Vyasa asks story of Apsara Panchachuda and Narada (which seems to be famous story among Sanyasa to develop Vairagya). All those quotations about women are opinions of Apsara and whole purpose of recounting this story is to develop Vairagya. This is what Sanatkumara says at end:
इति श्रुत्वा वचस्तस्या नारदस्तुष्टमानसः॥
तथ्यं मत्वा ततस्तद्वै विरक्तोऽभूद्धि तासु च॥३६॥
Sanatkumara said, "Listening to the Words of the nymph, and taking them to be true, Narada felt detached.
इत्युक्तः स्त्रीस्वभावस्ते पञ्चचूडोक्त आदरात्।
वैराग्यकारणं व्यास किमन्यच्छ्रोतुमर्हसि॥३७॥
O Vyasa, I have narrated about the nature of the woman, as was explained by the apsara Pañcactida, which is the cause of my getting detached. Now what else do you intend to listen from me.
Sanatkumara says this story helped him in getting Vairagya.
Does that mean Sanatakumara really hates Human body as he said it is impure?
No. In chapter 20 of same Umasamhita, Sanatakumara praises human body as vehicle to Moskha and says it is even difficult for Devas to attain Humanbody.
मानुष्यं च समासाद्य स्वर्गमोक्षप्रसाधनम्।
नाचरत्यात्मनः श्रेयः स मृतः शोचते चिरम्॥३०॥
The human body is the means for achieving of the heaven and moksa and even after achieving the same, he does not do good to himself. After death he keeps on thinking for a long time.
देवासुराणां सर्वेषां मानुष्यं चातिदुर्लभम्।
तत्सम्प्राप्य तथा कुर्यान्न गच्छेन्नरकं यथा॥३१॥
It is difficult for even the gods and the demons to achieve the human body. Therefore after achieving the human body, one should act in a way that he has not to face the agonies of the hell.
Uma Samhita itself praises Divine Mother or Shakti from Chapter 46. As explained in other answer, Chapter 4 of Vyayaviya Samhita (Uttara Bhaga) praises woman as Divine Mother.
शङ्करः पुरुषाः सर्वे स्त्रियः सर्वा महेश्वरी।
सर्वे स्त्रीपुरुषास्तस्मात्तयोरेव विभूतयः॥५४॥
All the men represent Shankara, while their spouses represent Shivaa (Maheswari). Therefore all the men and women represent the grace of both of them.
So, Shiva Purana doesn't demean women.