Hello,
Go to WooCommerce > Settings > Products > Inventory > Check Hide out of stock options from the catalog. Check the product after that.
Regards