This is an item from Anton Moker's Decalogus metricus et paraenetica disticha, published in 1573. You can see the book at GoogleBooks.
Bonis Placens, Malis Displicet
Hic, quem vituperat malus, afficiatur honore;
Displicuisse malis est placuisse bonis.
The vocabulary is keyed to the DCC Latin Vocabulary list. There are two words in this poem that are not on the DCC list:
displiceō, displicēre, displicuī: displease, dissatisfy
vituperō, vituperāre: blame, disparage, find fault
afficiō -ficere -fēcī -fectum: affect, visit with (+ abl.)
bonus -a -um: good
hic haec hoc: this; hōc: on this account
honor -ōris m.: honor, glory; office, post
malus -a -um: bad, evil; male: (adv.) badly
placeō placēre placuī placitum: please
qui quae quod: who, which, what / quis quid: who? what? which?
sum, esse, fuī: be, exist