This little poem comes from Disticha de Educatione of Urbano Appendini, published in 1834; you can see the whole book at Google Books.
Bene Morati
Quid bene morati faciant, adverte, sciesque
A quibus abstineas, quae placiturus agas.
The vocabulary is keyed to the DCC Latin Vocabulary list. There is only one word in this poem that is not on the DCC list:
abstineō, abstinēre: keep away from, avoid
mōrātus, -a, -um: civilized, refined, kind
ā ab abs: from, by (+abl.)
advertō -vertere -vertī -versum: turn towards
agō agere ēgī āctum: drive, do, act
bene: well
faciō facere fēcī factum: do, make
placeō placēre placuī placitum: please
que (enclitic) - and
qui quae quod: who, which, what / quis quid: who? what? which?
sciō -īre -īvī/-iī -ītum: know