Wealthy Ottomans were basically encouraged to put their wealth into these foundations that would build not only a new mosque, but also a school and a soup kitchen and a public bath and basically the kinds of things that could bring a devastated neighborhood back to life.