2021 subaru legacy will start with jumper cables I let it idle for a half an hour then shut it of and when I went to try and start it that I only getting a clicking noise. Also when I try to start vehicle lights are good and navigational screen comes on fine
Most likely the battery is at fault here. Take it to a store which can do a load test on it (anywhere which sells batteries can most likely do this for you). Most batteries have a life expectancy of around five years. If yours is anywhere close or older than this, it's pretty much a done deal.