ばかりが能ではない
Meanings
1
it is not everything to ...; ... is not the only thing that matters
Idiomatic expression used after a verb to say that doing only that one thing is not enough or not the only important thing. Often implies that other qualities or actions are also necessary.
Studying is not everything. Playing with friends is also important.
Running fast is not the only thing that matters. Endurance is also necessary.