If you say that something is not necessarily the case, you mean that it may not be the case or is not always the case. 必要地
adverb [关系副词] 必定,必然;必要地
Anger is not necessarily the most useful or acceptable reaction to such events. 生气未必是对待此类事件最有用或最适合的反应。