QuickBooks automatically calculates Retained Earnings. You do not need to (and should not) make a manual journal entry to close Net Income to Retained Earnings....
Because you manually closed Net Income (RE) with a debit, you zeroed it out — but QuickBooks was already calculating it behind the scenes. So you effectively do...