遗臭万年

yí chòu wàn nián

to have one's name go down in history as a byword for infamy (idiom)

遗

yí

(bound form) to leave behind

臭

chòu

stench

万

wàn

ten thousand

年

nián

grain