Conventional wisdom says you should only cook with wine you’d actually drink (i.e., good wine).

How sweet and acidic a wine is will affect the dish much more.

In many cases, it makes little to no difference at all.

Should You Really Only Cook with Wine You’d Drink?

The Truth About Cooking With Wine| Serious Eats