From adjusted trial balance to statements

The income statement is prepared first, its net income flows into the statement of retained earnings, and ending retained earnings flows into the balance sheet, which then balances.

From Financial Accounting.