Can a usb drive infect a hard drive without an OS


Specifically, I was trying to install windows 10 on a fresh new ssd, i was trying to use a usb to do it but it turns out I did not create the usb drive correctly, so I’m stuck on the “reboot and select proper boot devices” screen on my bios.

If the usb was infected, can it infect my ssd or my bios at this point?