Yup. Affordability in area is always hard because the companies pay the minimum to get someone to walk through the door. When you're new, you're competing for work with people who already have housing and are looking for a new job. So they can underbid you.
Did you have any savings?
At what point in your career were you?
Anywhere in the Bay Area, or in the neighborhoods you were willing to live in? What weee your constraints?