cancel out

phrasal verb
1
if two or more things cancel out or one cancels out the other, they are equally important but have an opposite effect on a situation so that the situation does not change
خنثی کردن, بی‌اثر کردن