That is a bit of a over-simplification. Its true that there would be corresponding $200 entries that balance. But the store did make money on the transaction, and the journal entries would show it in a manner as shown below (assumption 50% margin on sales). (COGS is Cost of goods sold).
Cash $200 - Debit
COGS $100 - Debit
Inventory $100 - Credit
Revenue $200 - Credit
Yes, the journal entries don't immediatly show the profit as an explicit line item. But once closing entries are done, an income statement can be created that essentially shows the change in value of all your accounts for a certain period. In the income statement, profits would be calculated.