Israel brought abominations into the temple, which caused God to consume Israel in His anger (Ezekiel 43:8), but He still wanted to dwell with His people, and so He said,
“Now let them put their harlotry and the carcasses of their kings far away from Me, and I will dwell in their midst forever” (Ezekiel 43:9).
He wanted them to lay aside everything that offended Him, and receive everything that pleased Him, then He would dwell with them.
Any church, any nation, and any Christian can do the same thing, and God will dwell with that person.
What are you doing to remove all in your life that offends Him?