make a difference
To change the nature of something or a situation; be important; matter.
John's good score on the test made the difference between his passing or failing the course.
It doesn't make a bit of difference if you are late to my party. I just want you to come.