have to do with
have to do with {v. phr.}
1. To be about; be on the subject of or connected with.
The book has to do with airplanes.
2. To know or be a friend of; work or have business with. — Usually used in negative sentence.
Tom said he didn't want to have anything to do with the new boy.
I had nothing to do with the party; I was home that night.
Categories:
Source: A Dictionary of American Idioms