Valmiki Ramayana Ayodhya Kanda Sarga 39 Shloka 20
Original Shlokaअसत्य स्सर्वलोकेऽस्मिन्सततं सत्कृताः प्रियैः। भर्तारं नानुमन्यन्ते विनिपातगतं स्त्रियः।।2.39.20।।
1 source checked for this shloka
अस्मिन् in this, सर्वलोके in all the worlds, असत्यः untrue, स्त्रियः women, प्रियैः by husbands, सततम् at all times, सत्कृताः though honoured, विनिपातगतम् fallen into misfortunes, भर्तारम् husband, नानुमन्यन्ते do not agree (follow).
Those women who, although always gratified, do not follow their husband when they fall into misfortune, are regarded as unfaithful.