przyganiał kocioł garnkowi(, a sam smoli)
Literally: "the cauldron scorned the pot (yet it dirties with soot itself)". The verb is not przeganiać (“to chase away”), but an archaic form of ganić (“to scorn, to chastise”).