Filter an array using another array

const result = masterData.filter((ad) =>
filterData.every((fd) => fd.userid !== md.userid)
);

result contain all MasterData except for things in the FilterData