Being unequally yoked

Hi fellow Christians,

I have a quick question. You see how Jesus says we shouldn’t be unequally yoked, does this only apply to marriage or to a relationship?