I was trying to solve the following exercise in Hatcher (1.3.8). Let $p:(\tilde{X},\tilde{x})\to(X,x)$ and $q:(\tilde{Y},\tilde{y})\to(Y,y)$ simply-connected covering spaces. Assume $X,Y$ path-connected and locally path-connected spaces such that $X\simeq Y$. Then $\tilde{X}\simeq \tilde{Y}$. My thoughts:
Let $f:X\to Y$ be a homotopy equivalence, $x_0\in X$. Define $y_0:=f(x_0)$. We get the following diagram.

There exists a unique lift of $f$ if $f_*(\pi_1(X))\leq p_*(\pi_1(Y))=\{*\}$ called $F:(X,x_0)\to (\tilde{Y},\tilde{y_0})$ with $f=q\circ F$. Define $\tilde{f}:\tilde{X}\to\tilde{Y}$ by $\tilde{f}=F\circ p$. I want to show that $\tilde{f}$ is a homotopoy equivalence. I don't see why $f_*(\pi_1(X))=\{*\}$. Any thoughts?