What apps are you planning to use on it, and will it have your important accounts logged in?
That matters because Android 6.0 stopped receiving security patches years ago - Samsung ended support way back in 2017. In 2026, that's nearly a decade of unpatched vulnerabilities sitting on a phone that's connecting to the internet. Using it for basic maps and messaging *might* seem harmless, but malware doesn't announce itself. If you're logging into email, banking, or social media accounts on that device, you're exposing those credentials to real risk. Even something like Google Maps needs to know your location and can pull sensitive data if the OS gets compromised.
The safer middle ground is treating it as extremely limited-use only. If you install nothing new, don't log into any sensitive accounts, and only use pre-installed apps like the calculator or notes, the risk drops significantly - but it's still not zero. The real problem is that you can't update anything: third-party apps stop getting security patches on old Android versions, and the OS itself is full of known exploits that people actively exploit. For travel backup, honestly, I'd rather see you pick up a cheap newer budget phone (even a couple years old) than rely on this. You'd get current security patches, better battery life, and actual support. If the S5 is your only option and you absolutely must use it, keep it offline as much as possible and don't treat it like a secure device.