It depends on your usage pattern. If the car spends a lot of time in a garage or driveway with access to mains power a charger will keep it topped up, even if you only do short journeys.
But having a charger at home in the garage is no help at all if for instance you return to the car at airport parking after a holiday (jet fuel permitting

) or listening to the radio in accessory mode at Tescos car park and the car doesnt start.
If you are not sure why not have both?
I carry a small power bank jump starter in the car, and have a small smart trickle charger in the garage should I ever need it. I also have a volt meter that plugs into the accessory socket so I can occasionally monitor the 12v battery battery charge level. Not a massive investment in total, which can also be used in future cars. And as is often the case with taking triple precautions for the last 5 years (or quadruple precautions if you include calling out assistance) I have never needed them.

Another tick in the box for a small powerbank jump starter is they can also be used as a power bank. If for instance you planned a walk from the parked car and realise your phone or camera is low on charge, you can slip it in your pocket. Or use it as a torch. Mountain rescue . (This is why i also have the 'what3words' app on my phone. Much easier than messing about with grid references - again never needed it

)