It is more likely that antibiotics prevent secondary bacterial infection in someone who has COVID than preventing COVID altogether.  This is the most likely explanation for benefit observed in some patients given e.g. Azithromycin.