Idiom
There's a time and a place.
something that you say when someone is behaving in a way which you do not think is suitable for the situation they are in.How could she wear a dress like that to a funeral? Honestly, there's a time and a place.I don't like to see people kissing in the street. There's a time and a place for that sort of thing.
(often +
for)