Valmiki Ramayana Ayodhya Kanda Sarga 26 Shloka 35
Original Shlokaआराधिता हि शीलेन प्रयत्नैश्चोपसेविताः। राजान स्सम्प्रसीदन्ति कुप्यन्तिच विपर्यये।।2.26.35।।
1 source checked for this shloka
राजान: kings, शीलेन with good conduct, आराधिताः are gratified, प्रयत्नैः with endeavours, उपसेविताः having been served, सम्प्रसीदन्ति are satisfied, विपर्यये in contrary to that, कुप्यन्तिच are also enraged.
Kings are gratified if they are served with zeal and good conduct. If the contrary happens, they get provoked.