The theory of capitalism leading to efficient markets makes a great deal of assumptions that are simply not true in the real world. Even for elastic goods that nobody needs to participate in at all, let alone an inelastic good like healthcare where people will pay pretty much anything for themselves or their family members to continue living.