karmaṇaiva hi sansiddhim āsthitā janakādayaḥ
loka-saṅgraham evāpi sampaśhyan kartum arhasi
By performing their prescribed duties, King Janak and others attained perfection. You should also perform your work to set an example for the good of the world.
Word by Word Meaning:
karmaṇā - by the performance of prescribed duties
eva - only
hi - certainly
sansiddhim - perfection
āsthitāḥ - attained
janaka-ādayaḥ - King Janak and other kings
loka-saṅgraham - for the welfare of the masses
eva api - only
sampaśhyan - considering
kartum - to perform
arhasi - you should