More than 40 percent of Americans are feeling pessimistic about the nation’s future, the survey found