I mean, I think that comparing grammar to a relationship is illegitimate. The two are extremely unlike the other. They're both important, although one could argue that they could live without each of them.
You can have anything with good grammar. A girlfriend as well. A real life girlfriend can be your pimd girlfriend too. Without good grammar you probably won't find either.