This is a standard reduction of the problem to a special case. Here is the structure of the proof.
Lemma: Suppose $A_1\subseteq B\subseteq A$ and $|A_1|=|A|$. Then $|A|=|B|$.
(This is what Jech proves.)
Theorem: If $|A|\leq |B|$ and $|B|\leq |A|$, then $|A|=|B|$.
Proof: Let $f_1\colon A\to B$ and $f_2\colon B\to A$ be one-to-one. Let $B'=f_2(B)$ and $A'=f_2(f_1(A))$. Note that $f_2\colon B\to B'$ is one-to-one and onto $B'$, so $|B|=|B'|$. And $f_2\circ f_1\colon A\to A'$ is one-to-one and onto $A'$, so $|A|=|A'|$.
Now $A'\subseteq B'\subseteq A$ and $|A|=|A'|$. Apply the Lemma with $B=B'$ and $A_1=A'$. The Lemma says $|B'|=|A|$, and since $|B|=|B'|$, we have $|B|=|A|$. $\square$
Note that the $B$ in the Lemma is not the same $B$ as in the statement of the Theorem! We take the $B$ in the theorem, produce a new $B'$, and apply the Lemma to that $B'$.
Now, frequently when the statement of the lemma is a special case of the statement of the theorem, and the full theorem reduces to this special case, an author will write "we may assume (we are in the special case)" rather than separating out the special case as a lemma as I did above.
For example, when proving that every non-zero integer $n$ has a unique factorization into primes, a proof may begin "multiplying by $-1$ if necessary, we may assume $n>0$", and then it may use, for example, that if $m\mid n$, then $m\leq n$ (which is not true for negative $n$). When we then try apply the proof to factor $-40$, we do not think the author actually meant to assert that $-40>0$! Instead, the proof instructs us to factor $40$, and then obtain a factorization of $-40$ from the factorization of $40$.