Valmiki Ramayana Aranya Kanda Sarga 33 Shloka 6
Original Shlokaये न रक्षन्ति विषयमस्वाधीना नराधिपाः। ते न वृद्ध्या प्रकाशन्ते गिरयस्सागरे यथा।।3.33.6।।
1 source checked for this shloka
अस्वाधीनाः not independent, ये those, नराधिपाः kings, विषयम् their country, न रक्षन्ति do not protect, ते they, वृद्ध्या by intellect, सागरे in the sea, गिरयः यथा like the mountains, न प्रकाशन्ते do not shine.
Kings who are not under their own control and cannot protect the country, do not attract the minds of the people like mountains inside sea water.