expression
it is not everything to ...; ... is not the only thing that matters
Used after a verb to say that doing that alone is not enough; there are other important things. Often implies that someone is overemphasizing one aspect. Similar to ばかりが能ではない.
See also: ばかりが能ではない
速く走るだけが能ではない。
Running fast is not everything.
お金を稼ぐだけが能ではないよ。
Making money isn't the only thing that matters, you know.