Statement: For every surjective function $f:A \to B$ there exists set $C\subseteq A$ such that function $f:C \to B$ is bijection.
As I see it, this is obviously true for finite sets, in way that for every multiple occurrence of some element in $B$, it is possible to just eliminate all elements in $A$ whose image is that specific element in $B$ but one. However I am not sure about infinite sets, as I can't quite come up with counterexample, if there is one.
Thanks for help.