Valmiki Ramayana Ayodhya Kanda Sarga 46 Shloka 23
Original Shlokaपौरा ह्यात्मकृताद्दुःखाद्विप्रमोच्या नृपात्मजैः। न तु खल्वात्मना योज्या दुःखेन पुरवासिनः।।2.46.23।।
1 source checked for this shloka
पौराः the citizens, नृपात्मजैः by the sons of the king, आत्मकृतात् done by themselves, दुःखात् from the sufferings, विप्रमोच्या हि are to be delivered, पुरवासिनः people of the city, आत्मना by themselves, दुःखेन suffering, न योज्याः हि are not to be united.
The prince should deliver the citizens from the sufferings caused by themselves but should not make them suffer on their account.