Identify the literary device used in the following passage:
The Farmer
A farmer, bent on doubling the profits from his land,
Proceeded to set his soil a two-harvest demand.
Too intent thus on profit, harm himself he must needs:
Instead of corn, he now reaps corn cockle and weeds.