No, ranking other candidates does not hurt your first choice. Your vote counts for the first-choice candidate unless they are eliminated by a round-by-round count because they were the farthest from reaching a majority. If your first-choice candidate doesn’t receive enough support to stay in the running, your vote is then awarded to your second-choice candidate.