how to get not matching values from array when comparing two arrays

I’m trying add users to a group and i’m getting current members of created group in order to compare it to all the users in my user list so i can get the users that does not exist in that group. I’m calling users list and group members list from server and both incoming data is array.

 for (let i = 0; i < group.members.length; i++) {
    const filteredList = userList?.filter(m => m.id !== group.members.at(i).id)
    console.log(filteredList);
}

This is not working well because i’m getting one or two existing users