Word Definition - 学而优则仕

xué ér yōu zé shì one who is successful in one's studies, can become an official (idiom)