It sometimes is and sometimes isn’t. The issue is when avoidance becomes the standard reaction to a stressor or conflict. Avoidance in general is good short term, but it is a better thing to confront the problem. Otherwise you will have the problem fester.