Ma situation financière est pire que je ne le pensais.
Google translates the above as:
My financial situation is worse than I thought.
Is the 'ne' in the French sentence above optional? Also, shouldn't the second part of the French sentence be 'pire que je ne la pensais' as the thing being referred to is feminine?