Or you could just add on the extra opening parentheses in the Wix Dataset setFilter function and then add the extra closing parentheses underneath or at the end of your code.
$w("#myDataset").setFilter( wixData.filter()
Examples
Set a dataset’s filter
This example filters a dataset to only have items where the lastname field starts with “D” and the age field is greater or equal to 21.
import wixData from 'wix-data';
// ...
$w("#myDataset").setFilter( wixData.filter()
.startsWith("lastName", "D")
.ge("age", "21")
);