The confidence of Americans in the U.S. economy stayed high in July even though an outbreak of the delta strain of the coronavirus threatened to result in governments reimposing some restrictions on individuals and businesses.