What does 1 Kings 3:2 mean?
At that time, people were still offering sacrifices at the local shrines because the temple for the Lord hadn’t been built yet. 1 Kings 3:2 - Modern Text Bible
(Since the temple wasn’t finished, people worshipped God at various places, not just in Jerusalem.)