संगमयति विद्यैव नीचगापि नरं सरित् ।
समुद्रमपि दुर्दशं नृपं भाग्यमतः परम् ॥
sangamayati vidyA iva nIchagApi naraM sarit ।
samudramapi durdashaM nRupaM bhAgyamataH param ॥
Just like water of any river flows lower and lower towards the sea, a rogue even if he is well educated will seek a bad king to serve. The result of both actions is the same - they get destroyed (both river and the rogue).