The existence of a mikveh is considered so important that a Jewish community is required to construct a mikveh even before building a synagogue, and must go to the extreme of selling Torah scrolls or even a synagogue if necessary, to provide funding for its construction.