I have athletes foot and lamisil hasn’t worked. Now I am taking pills. Why are fungal infections so hard to treat?

Fungal infections are hard to treat because, like humans, fungi are eukaryotic organisms who’s cells share many of the cellular structures and mechanisms with human cells. Therefore, fungi are harder for our immune system to fight off and antifungal medications are quite toxic to humans. In contrast, bacteria have simple cell structures, unique proteins, and are much smaller in size than human and fungal cells. Therefore, our immune system can recognize bacteria easier and antibacterials can target proteins unique to bacteria.