Stephen R. Covey once said something along the lines of "In any given situation, you can be right or you can be kind. It's better to be kind."
What you said is correct. Said differently (i.e. in a more kind manner), it also would have been a good example of really helpful mentorship.