Is it worth ending a relationship just because sex sucks?

Is it worth ending a relationship just because sex sucks