Here "Bethel" represents the people who live there. The prophet addresses the people of Bethel as if they were there listening to him.