The American master of horror and the Yiddish writer have a surprising amount in common, including a disdain for humanism and its platitudes