The god of Dan refers to the northern shrine of the golden calf set up by Jeroboam I (see 1 Kings 12:28–29; 2 Kings 10:29).
the way of Beersheba: Beersheba had apparently become a worship center in the southern kingdom. Archaeologists have discovered the remains of a horned altar in Beersheba's ruins.