Ecclesiastes 7:18

New International Version Bible (NIV)
It is good to grasp the one
    and not let go of the other.
    Whoever fears God will avoid all extremes.[a]

Read Ecclesiastes 7:18 in other translations