Ivermectin works by interrupting nerve function of helminths(parasites). covid is a virus, not a multicellular organism with nerves.
I'm not saying ivermectin is useless, but why it would work for covid doesn't make sense (yet at least). Maybe it has some other mechanism to slow down covid that isn't fully understood.