בְּאֱר חֲפָרוּהָ שָׂרִים כָּרוּהָ נְדִיבֱי הָעָם בִּמְחֹקֵק בְּמִשְׁעֲנֹתָם וּמִמִּדְּבָּר מִתָּנָה (כא, יח)
A well dug by princes, dug by donors of the people, through the lawgiver with their staffs, and from the desert, a gift. (21:18)
The Shinova Rov zy”a (quoted in Divrei Yechezkel Hachadash) explains that “princes” (“sarim”) refers to “sarei haTorah”, rulers over the Torah, i.e., talmidei chochomim. Thus, the pasuk says that they “dug the well”, with “well” being a reference to Torah. It then says that this Torah was “dug by donors of the people (‘nedivei am’).”
This teaches us that those who generously support Torah scholars and institutions of Torah are full partners in their Torah. They ‘dig into’ their Torah by supporting the talmidei chochomim and making sure they are taken care of.
We learn from this that people who support those who spend all day learning have a full share in their Torah as if they learned it themselves.