Jereboam placed his two idols in two temples in Dan and Bethel. The people in the kingdom of Israel went there to worship instead of going to Jerusalem.