事与愿违

shì yǔ yuàn wéi

things turn out contrary to the way one wishes (idiom)

shì

matter

and

yuàn

(bound form) wish; hope; desire

wéi

to disobey