This little poem is from Giuseppe Gatti's Sales Poetici, Proverbiales, et Iocosi, published in 1703.
Cum Bonis Vive
Te coniunge bonis, moneo, et bona plurima disces;
Cum pravis vivens, tu quoque pravus eris.
The vocabulary is keyed to the DCC Latin Vocabulary list. There are two words in this poem that are not on the DCC list:
coniungō, coniungere: join, connect, unite
prāvus, -a, -um: vicious, perverse, bad
bonus -a -um: good
cum: with (prep. + abl.); when, since, although (conjunction + subj.)
discō -ere didicī: learn
et: and
moneō monēre monuī monitum: warn, advise
plurimus -a -um: the greatest number of, very many; plurimī, most people
quoque: also, too
sum, esse, fuī: be, exist
tū tuī tibi tē: you (sing.)
vīvō vīvere vīxī victum: live