What do you think about this quote?

"If your relationship with God is good, your relationship with other people with good."

A friend of mine who has had trouble with interpersonal relationships recently has been down because of it. Some Christians have told her this quote which has caused her some more distress. Do you think this quote is Biblical? I can't recall any passage that would support it directly. I'm sure a good relationship with God can often help with other relationships, but to say that because your relationships with other people are bad, your relationship with God is necessarily bad too doesn't seem right to me.

John