It's important to maintain the right balance in your stocks, maya2.
The inventory tracking in QuickBooks Online helps you track the quantity, sales revenue, and cost of good sold of your products.
Creating journal entries will not increase, decrease, or adjust the quantity on-hand of an inventory item.
You'll want to use the inventory function by enabling it.
I'm also adding this article for reference on how to set up Inventory tracking.
Let me know if you have additional questions about inventory in QuickBooks. Have a great day!