Valmiki Ramayana Ayodhya Kanda Sarga 1 Shloka 26
Original Shlokaसत्सङ्ग्रहप्रग्रहणे स्थानविन्निग्रहस्य च। आयकर्मण्युपायज्ञ स्सन्दृष्टव्ययकर्मवित्।।2.1.26।।
1 source checked for this shloka
सत्सङ्ग्रहप्रग्रहणे in receiving and encouraging the righteous, निग्रहस्य च in restraining also, स्थानवित् knower of right means, आयकर्मणि in acts of raising revenue, उपायज्ञः knower of means, सन् by being so, दृष्टव्ययकर्मवित् expending money in the prescribed manner.
He was skilled in receiving and encouraging the righteous and in punishing (the wicked). He knew whom to punish. He knew the right means of raising revenue and also expending money in the prescribed manner.