Let $\mathcal{A}$ be an abelian category and $f, g \colon X^\bullet \to Y^\bullet$ be two morphisms of complexes in $\mathcal{A}$. Suppose that the morphisms between cohomology induced from $f$ and $g$ are identical in all degrees. Then, my question is: can we always construct a homotopy between $f$ and $g$? If we can't, what is the counterexample?
Thank you!