I very much doubt the hospital you were at kept you waiting because they wanted the revenue from your surgery.  Surgeries cost hospitals money, that's why many operating rooms are shuttered or operating below full capacity.

You likely had to wait so long because trying to arrange a transfer to another hospital is a huge headache.  And guess what?  That other hospital probably couldn't take you either because they are at 110% capacity too.