literary device for the sentence

"taking happy pills but theres no happy ever after"

The use of irony is evident in the phrase "taking happy pills but there's no happy ever after," as it presents the contradiction of taking medication to induce happiness, yet there is ultimately no lasting happiness achieved.