And sometimes I would just hit a stone with the knife.
Remarks about the translation
It comes from a folk song and the implied meaning is "Sometimes I'm just so mad/upset that I would proced in doing something totally useless and with no chance of success just to relieve my anxiety."