The twentieth sutta of the Majjhimanikāya, taught the monks at Sāvatthi. A monk can, in five ways, get rid of bad thoughts associated with lust, hatred, and delusion: by diverting his mind elsewhere; by scrutiny of their perilous consequence; by ignoring bad and wrong thoughts; by allaying what moulds these thoughts; by subduing them by sheer force of mind. These different methods are illustrated by similes. M.i.118 122.