1 Kings 3:2

preferring wisdom, obtains wisdom, riches, and honour.
Overview - 1 Kings 3
Solomon marries Pharaoh's daughter.
High places being in use, Solomon sacrifices at Gibeon.
Solomon at Gibeon, in the choice which God gave him,
16 Solomon's judgment makes him renowned.
Treasury of Scripture Knowledge

1 Kings 3:2  (King James Version)
Only the people sacrificed in high places, because there was no house built unto the name of the LORD, until those days.

the people
It was not right to offer sacrifices in any place but where the tabernacle and ark were; and wherever they were, whether on a high place or a plain, sacrifices might be lawfully offered, previously to building of the temple. The tabernacle was now at Gibeon, (2 Ch 1:3, which was therefore called the great high place; whither we find Solomon, without censure, repaired to sacrifice.
22:43 Leviticus 17:3-6 ; 26:30 Deuteronomy 12:2-5 ; 2 Chronicles 33:17

was no
5:3 1 Chronicles 17:4-6 ; 28:3-6 Acts 7:47-49