וַיְהִ֕י כִּֽי־יָֽרְא֥וּ הַֽמְיַלְּדֹ֖ת אֶת־הָאֱלֹהִ֑ים וַיַּ֥עַשׂ לָהֶ֖ם בָּתִּֽים׃
And it came to pass, because the midwives feared God, that He made them houses.
Read kabbalistic (mystical) interpretation of Exodus 1:21: and classical mystical sources.