“and God knew.” The word “know” is used in the Semitic language in both a straightforward and idiomatic sense. The exact nuance is determined by the context. Here in Exodus 2:25, it is used in the idiomatic sense, and “know” means to pay attention to something, plan, and act. In the previous verse, Exodus 2:24, the word “remembered” is used in an idiomatic sense.