No, their primary function is to acquire information useful to decisions makers, including info others want to keep secret. Counterintelligence agencies, which are sometimes conjoined to intelligence agencies and sometimes separate have a primary function of preventing information that decisionmakers want to remain secret from being discovered. Deception is frequently an important technique in both intelligence and counterintelligence, and if understood broadly enough is integral to the purpose of counterintelligence.
And, no their primary function is not to acquire information. Their primary funtion is to push and pull "information" to acheive the goals of The Republic. It's chess, not checkers.
* Marine Corps Counterintelligence: https://en.wikipedia.org/wiki/Marine_Corps_Intelligence#Mari...
* United States Army Counterintelligence: https://en.wikipedia.org/wiki/United_States_Army_Counterinte...
* Defense Counterintelligence and Security Agency: https://en.wikipedia.org/wiki/Defense_Counterintelligence_an...
* National Counterintelligence and Security Center: https://en.wikipedia.org/wiki/National_Counterintelligence_a...
Found via https://en.wikipedia.org/wiki/List_of_counterintelligence_or...
AFAICT the NCSC is independent from the CIA, though both do fall under the DNI. And the DCSA does have "agency" in its name. ;)
The hierarchy became more complex and confusing after the 9/11 reorganization, and apparently has continued to do so.