For both Rowling and the rabbis, our relationship to wealth—not our accumulation of it—is what determines our moral merit