Question: Assuming I’m not concerned with the data on it.
Answer: It wont “fix” bad sectors, but it should mark them as bad (unusable) and therefore no data would be written to those bad sectors.
Ideally with the cost of storage now, just replacing and using a new drive seems ideal to me.