If you can't stand the heat, get out of the kitchen.
something that you say which means if you are not able to deal with a difficult or unpleasant situation, you should leave He says he didn't realize banking was such a stressful job. Well, if you can't stand the heat, get out of the kitchen.