The needles provided by the states is to keep people from getting infected by sharing re-used needles.
You can't say it's to encourage people to do drugs.
I dunno, I never thought about heroin before, but then "free needles"... maybe I'll give it a try.