One of the foundational maxims of Judeo-Christian worldview is that “you shall have no other gods before me”. Anything or anyone which you consider as the source of your livelihood, economic and financial security, safety, security, etc. in a way which overshadows your faith in God and his ability to supply, support, and protect you is considered to be an idol. That’s a classic definition of idolatry. Your idols could be persons, organizational or national entities, or things like finances, possessions, firearms, etc.
Of course this doesn’t mean we can’t have relationships or possessions. What it does mean, though, is that we should frame our relationships and structure our economic lives so that those work in synergy with out faith in God, and with our personal principles proper for Christ-followers. Generally speaking, as long as we genuinely consider God and his kingdom to be the source of every blessing we have, and everything else merely a conduit, we are on the safe ground.
There’s a lot of talk about loyalty these days. I shall avoid political contexts, and instead I want to zoom in to this concept relative to Christianity.