I’m sure they will last a long time. I have cedar fence posts that I’ve been pulling out of the ground that have to be 30+ years old and still solid at the core. Worst case in ten years if they fail I can scoop the soil out and put a new bed in place and refill.
You ain’t getting younger...