so much foridiom
Definition of so much for
1 —used to say that everything that can be said about or done with something or someone has been said or done Well, so much for that idea. We'll have to look for a better solution.
2 —used to say that something has ended Well, it's raining. So much for our perfect weather.