#HalachaYomi OC 153:6 A synagogue & other holy items, even a Torah, can be sold in order to support Torah scholars or to marry off orphans.