Solomon also brought Pharaoh’s daughter up from the City of David to the house that he had built for her, for he said: “Although she is my wife, she should not dwell in the house of King David of Israel, for the places to which the Ark of Jehovah has come are holy.”
~2 Chronicles 8:11
At the beginning of his reign, King Solomon had a clear view of how to keep true worship uncontaminated from false religion.
He understood that his wife’s traditions were not just incompatible with Mosaic Law, but they diametrically opposed it.
At the risk of offending her, he removed her from within the Holy City and built her a separate house next to his own.
We should also hold true worship in high esteem and avoid contaminating it with antibiblical traditions, even when this may stress close relationships (Matt. 10:36,37; 2 Co. 6:14).