But it was Solomon who actually built a house for God.
But Solomon built him an house.
But it was Solomon who built a house for Him. [I Kings 6.]
But Solomon built him a house.
But it was Solomon who built a house for him.