This is not Constutitional text.
That’s true, but Article 1, Section 8 is constitutional text and it gives Congress the right to provide for the common defense and the general welfare of the American people.
Since 1908 when the first federal investigative bureau was formed which later became named the Federal Bureau of Investigation, there has been no legal challenge to the authorizing statutes for the FBI.