5 Against the walls of the main hall and inner sanctuary he built a structure around the building, in which there were side rooms.

Read 1 Kings 6:5 Using Other Translations

And against the wall of the house he built chambers round about, against the walls of the house round about, both of the temple and of the oracle: and he made chambers round about:
He also built a structure against the wall of the house, running around the walls of the house, both the nave and the inner sanctuary. And he made side chambers all around.
He built a complex of rooms against the outer walls of the Temple, all the way around the sides and rear of the building.