Citation needed, because this is a sweepingly broad statement. To hire an H1B you need to pay the prevailing wage, usually at least $60k, which is more than an entry-level non-STEM college grad is going to be paid outside the Bay Area (it should still be increased to something like $90-95k IMO but that's a different issue).
In addition to that, there are thousands of dollars in legal fees. And of course the application has to win the lottery (which happens in April) and then be approved for the visa (which starts in October). Which means you have to wait at least 7 months after extending an offer for the employee to start.