That's because you work for free. If you track all the cost that goes into a craft beer (unavoidable because you had to pay for it) and ignore a big hunk of the "cost" for homebrew, then you can justify it financially. A 5-gallon batch is 40 pints. Maybe a brew day is 6 hours and there's another hour of packaging, one way or another. At "unskilled" labor wages of $15 an hour that's $105 and that adds $2.60 per beer. Now you're right there at the same price range and you didn't have to pay rent out of it or amortize equipment.
Economies of scale dictate that we'll never be able to make the typical craft beer in small batches as cheaply as we can buy it.
We definitely don't brew because it saves money.
We brew because we want to brew and because, like
@Blackmuse says, our beer is better, in most instances than what we can buy.
PS...the wiring was solved long ago. The thread took on a life of it's own.