Walmart needs to either earn a profit or use the item as a loss leader to earn a profit elsewhere. A government can provide services without expecting them to be profitable. (See: roads, licensing, schools, transit, etc.)
There's no reason California couldn't say, "If you need insulin, and you live in California, it's available for free." Assuming that's what the taxpayers want.
There's no reason California couldn't say, "If you need insulin, and you live in California, it's available for free." Assuming that's what the taxpayers want.