Ezekiel 14:5

That I may take the house of Israel in their own heart, because they are all estranged from me through their idols.

The house of Israel had become estranged from God because their idols were not merely outward objects but were settled firmly in their hearts. That inward enthronement of false loyalties separated their affections from Him even while they still came to inquire of Him. When they approached for counsel while clinging to those heart idols, He answered them according to their idolatry. Such an answer laid bare what truly ruled their hearts, taking them in their own heart by exposing their divided allegiance.

The same condition reaches those who profess to love God yet deny Him in their actions. The denial is shown when selfish interests are placed before serving Him and obeying Him.