Hayley Williams has admitted there have been "plenty of times" when she has wanted to give up on life.