Let $f,g : [0, \infty) \to [0,\infty)$ be two continuous functions with $f(0)=g(0)=0$. Also, $g(x)\neq 0$ for all $x>0$ and $$f(x+g(f(x)))=f(x), \: \forall x \geq 0$$ Prove that $f(x)=0, \: \forall x \geq 0$
I considered the function $h=g \circ f$ such that, applying $g$ on the given identity gives $$h(x+h(x))=h(x), \: \forall x \geq 0$$ Now, it is left to prove that $h(x)=0, \: \forall x \geq 0$, i.e. $h$ is constant. I tried to get the fact that $h$ is injective, and this would make it monotonic, but I'm not sure how to do that.
Let $h(x)=x+g(f(x))$ Then of course $h(x)$ is continuous and we can write your functional equation as $$f(x)=f(h(x))$$
Suppose $x_0$ is such that $f(x_0)>0$. Then $$g(f(x_0))>0 \implies x_0+g(f(x_0))>x_0 \quad \& \quad f(x_0+g(f(x_0)))=f(x_0)$$
Since $h(x_0)>x_0$ and $h(0)=0$, by continuity, we can find $x_1$ such that $h(x_1)=x_0$. But then $$0<x_1<x_0 \quad \& \quad f(x_1)=f(h(x_1))=f(x_0)$$ In a similar way we can construct a decreasing sequence of positive numbers $$x_0>x_1>x_2>x_3\cdots >0\quad \quad f(x_i)=f(x_0)\,\, \forall i$$
More broadly: Let $S=\{x≥0\,|\,f(x)=f(x_0)\}$. Let $L=\inf(S)$. Then by continuity $f(L)=f(x_0)$ If $L>0$ then we can use the construction above to find $L_1$ with $0<L_1<L$ and $h(L_1)=h(L)$, but then $L_1 \in S$ which contradicts the definition of $L$. Hence $L=0$ and $f(x_0)=0$ and we are done.