New Testament

Matthew 7:24

24 “Everyone who hears these words of mine and does them is like a wise man who built his house on rock. 25 The rain fell, the flood came, and the winds beat against that house, but it did not collapse because its foundation had been laid on rock. 26 Everyone who hears these words of mine and does not do them is like a foolish man who built his house on sand. 27 The rain fell, the flood came, and the winds beat against that house, and it collapsed—it was utterly destroyed!” 28 When Jesus finished saying these things, the crowds were amazed by his teaching, 29 because he taught them like one who had authority, not like their experts in the law.

Date: 70-90 C.E.
* Dates are based on scholarly estimates

Avot D'Rabbi Natan 24

Mishnah

Elisha ben Abuyah would say: A person who has done good deeds and has learned a lot of Torah, what is he like? Like a person who builds by placing stones down first and then setting bricks on top. Even if a flood comes, the building will stand firm and not be washed away from its place. And a person who has not done good deeds but has learned Torah, what is he like? Like a person who builds by placing the bricks down first, and then placing stones on top. Even if a little water comes, it will topple the building right away. He would also say: A person who has done good deeds and learned a lot of Torah, what is he like? Like bricks coated with plaster. Even if heavy rains fall on them, they will not move from their place. A person who has not done good deeds but has learned a lot of Torah is like bricks coated with plaster. Even if light rains fall on them, they crumble right away.

Date: 190-230 C.E.
* Dates are based on scholarly estimates