Fixing a head gasket is still cheaper than buying a used Subaru that probably needs shocks/struts/timing chain service as any old car does.
Did something happen to Subaru? They used to be a go-to reliable brand, now all I hear is that they feel cheap, they are cheap, they leak, and the HGs are cardboard