Valmiki Ramayana Sundara Kanda Sarga 55 Shloka 19
Original Shlokaइक्ष्वाकुवंशे धर्मिष्ठे गते नाशमसंशयम्। भविष्यन्ति प्रजास्सर्वाश्शोकसन्तापपीडिताः।।5.55.19।।
1 source checked for this shloka
धर्मिष्ठे when the righteous, इक्ष्वाकुवंशे Ikshvaku race, नाशम् will perish, गते when it happens, सर्वाः all, प्रजाः people, असंशयम् there is no doubt, शोकसन्तापपीडिताः tormented by grief and remorse, भविष्यन्ति would be.
'When the righteous Ikshvaku race perishes the people would be tormented by grief and remorse. There is no doubt.