Wiktionary
so much for
phr. (context idiomatic English) An expression of disregard, or resignation; something said upon give up, quitting, or disposing of something.