As every third term is "annoying", let us restore a know pattern,
$$S:=1+\frac12-\frac23+\frac14+\frac15-\frac26+\cdots=\left(1+\frac12+\frac13+\frac14+\frac15+\frac16+\cdots\right)-\left(\frac33+\frac36\cdots\right).$$
It is tempting to simplify and deduce
$$S=\left(1+\frac12+\frac13+\frac14+\frac15+\frac16+\cdots\right)-\left(1+\frac12\cdots\right)=\color{red}{0},$$
but this would be wrong as the sum is not absolutely summable and changing the order of the terms is not allowed.
The right way (given by others) is by evaluating the partial sums with
$$S_{3n}=H_{3n}-H_n$$whicht tends to$$(\ln(3n)-\gamma)-(\ln(n)-\gamma)=\color{green}{\ln(3)}.$$
The reason why the simplification doesn't work is that the terms of the second series are more "sparse". In the partial sum approach, the sparsity is respected.