Hello,
Did you enable Manage stock option and added the number of products in the stock https://prnt.sc/127jx5s in the product settings?
Regards