Is it ok to drink wine while pregnant?

So my friend drunk wine while she was pregnant and my other friend said it was ok because it wasn’t hard liquor. Is it ok?