The reality is that like almost every component under the hood, a car battery has a finite lifespan and will conk out on you eventually. Weather conditions, corrosion, electrical shorts, charging ...
Not knowing how to troubleshoot electrical issues is a death sentence for any DIYer’s bank account. Your only other option is a wild goose chase by throwing money at your car until the problem’s fixed ...