The Shaloh (Introduction to Torah Shebikthav, Vayeishev, Mikeitz, Vayigash) explains for example that there is:
a time and place for everything
Similary, the Shaloh writes (Shenei Luchot HaBerit, Torah Shebikhtav, Matot, Masei, Devarim, Torah Ohr):
כי הוא דבר בעתו their content is most appropriate at that time.
Refer also the the sefer Emunas Iteicha by Rabbi Wolffsonn (Parshas Balak, p. 169).
This got me thinking. Since there is a time and place for everything, is there an idea that that say that preceding and following parshios are connected by theme/subject/lessons that we are meant to take from it etc..?