Despite widespread joblessness, this Indian state’s voters were obsessed with a temple