A trial balance lists all accounts and their balances at a point in time. Total debits must equal total credits. If they don't, there's an error somewhere in your journal entries or posting process.
A balanced trial balance doesn't guarantee all entries are correct — it only confirms debits equal credits. Errors like posting to the wrong account won't be caught.