Have to do with

phrasal 1. to deal with
Example: the story has to do with real people — Alice M. Jordan 2. to have a specified relationship with or effect on
Example: the size of the brain has nothing to do with intelligence — Ruth Benedict

Merriam-Webster's Collegiate Dictionary