When I homebrewed, I found I could make very tasty Belgian beer for about $1/bottle (12 oz). Depending on the style and the bottle size, you'll pay $2-6+ per 12 ounces at the grocery store. Pretty fun way to cut back the beer budget, and it's great to barter with.
When I ran the math on lighter beers like pale ales, wheat beers, etc., there are no real savings to brewing it yourself. The higher the ABV and/or IBUs, the more you save by doing it yourself. So Belgians, imperial stouts, quintuple IPAs, things like that make for the best homebrews, and the recipes you can find truly taste as good or better than a lot of the product in the grocery store, except the really top tier stuff.
All that math was based on a 5-gallon malt extract brew. If you go all-grain, the startup costs are higher but the beer can taste even better, and brewing 10-30 gallons at a time reduces the cost per bottle.
For liquor, I reckon you could always whip up some 'shine, but I have no idea the costs.