The disclosure relates to uses of a purified or isolated lectin to kill bacteria, viruses, and other pathogens. In certain embodiments, the disclosure relates to method of treating or preventing an infection comprising administering a purified or isolated galectin to a subject in need thereof. In certain embodiments, the subject is at risk of, exhibiting symptoms of, or diagnosed with a pathogenic infection.