In the hardest places to live in the United States, people spend a lot of time thinking about diets and religion. In the easiest places to live, people spend a lot of time thinking about cameras.

This summer, The Upshot conducted an analysis of every county in the country to determine which were the toughest places to live, based on an index of six factors including income, education and life expectancy. Afterward, we heard from Hal Varian, the chief economist at Google, who suggested looking at how web searches differ on either end of our index.

The results, based on a decade of search data, offer a portrait of the very different subjects that occupy the thoughts of richer America and poorer America. They’re a glimpse into the id of our national inequality.

In the hardest places to live – which include large areas of Kentucky, Arkansas, Maine, New Mexico and Oregon – health problems, weight-loss diets, guns, video games and religion are all common search topics. The dark side of religion is of special interest: Antichrist has the second-highest correlation with the hardest places, and searches containing “hell” and “rapture” also make the top 10.