Yes, that’s what I was answering peripherally (note the tongue) — it’s just an expression of no precise meaning, typically conveying surprise or shock, but, like many other common expressions, its etymology is religious.
Agree, although this “mob justice” of which you speak can raise its ugly head anywhere. I still remember the chilling repercussions when one of the confectioners at the annual local senior citizens’ art and crafts fête nicked a prime exhibition spot supposedly reserved for embroidered tea cosies. The entire compliment of petit pointers were on her like a pack of wolves.
And yet it’s precisely equivalent in meaning to the more secular Afrikaans “Fokkit, Davy Crockett!” 8)