The average rate on a 30-year mortgage in the U.S. edged closer to 7% this week, climbing to its highest level since July. The rate rose to 6.84% from 6.78% last week, mortgage buyer Freddie Mac said Thursday.