Every Christian is called to use discernment yet we see that many don't. For instance - we went to a "now" church one time where the pastor had long hair and acted "cool." A young woman went on the stage in a tight outfit and sang. Many excused this but if you use discernment you can tell this isn't of God. I don't think we're to be prudes but the young woman didn't act with any kind of holiness. Many Christians accepted the display as normal but it wasn't. We're called to be holy.
"Because it is written, Be ye holy; for I am holy." - 1 Peter 1:16
Another time we attended a church where the pastor used our donation money to fly to some island with a few of his buddies to "evangelize" (we were never asked to go.) Many Christians accepted the pastor's explanation at face value. I questioned why the pastor didn't evangelize right outside the front door of the church, which was a hotbed of drugs and crime. They weren't honest with the congregation and they lied to themselves that the island they went to needed to be evangelized. They even tried to convince themselves more by showing photos on a projector of their "evangelization tour." I still remember the pastor's words: "I want you to see how your money was spent."
"Behold, thou desirest truth in the inward parts: and in the hidden
partthou shalt make me to know wisdom." Psalm 51:6
In another church I perceived that the family that owned the church were corrupt. I tried to warn my husband but they brought him to ball games, had him over, and were his buddies. They cheated a lot of people and harmed a lot of people, including us.
“
The words of his mouth were smoother than butter, but war
was in his heart: his words were softer than oil, yet
were they drawn swords.” Psalm 55:21
God blessed me with decent looks and I had a few men in churches come up to me and want a "Christian hug." But that wasn't what they were doing, and I knew it. Subtly by the way they looked at me; intuitively. They knew it deep in their hearts but would never admit it. People lie to themselves all the time.
The above are a few examples.
So to answer your question - yes, discernment does come from God - or as you put it, it is "divine." I'm not talking about someone like David Koresh and others who claimed to hear from God while their lives reflected something else. It's picking up on small clues - catching someone in a small lie, watching to see how they treat others, how they act, their business dealings. Tallying all this in your spirit. These all offer us clues about a person and we can sometimes gauge who is a believer and who is a carnal Christian or who is not a believer at all.
Here is a resource if you want to look into how we're told to use discernment:
The Urgent Need For Discernment By Christians
"But strong meat belongeth to them that are of full age,
even those who by reason of use have their senses exercised to discern both good and evil." Hebrews 5:14