i don't think he/she meant to say that's the theorem. i think that's a part of the question and he/she wanted to use the theorem.
for those interested: Cantorâ€“Bernsteinâ€“Schroeder theorem - Wikipedia, the free encyclopedia
could we even use the theorem here?