Painful lymph nodes do not mean that a person has cancer. Swollen lymph nodes can occur alongside other symptoms like sore throat, cough, and fever.