When we lived in Maine with very acid--low PH--soil, our (Northern White)cedar posts would rot out after 7 years, Here in Ohio, they would last 50 years.
The problem is they would rot at ground level, apparently where moisture combined with oxygen can do their thing. Below grade I was OK.
In solving this, I noticed the older telephone poles in the area had tar paper wrapped around the post at ground level and it did reduce the rot. Old timers confirmed that concept to me.
So I first wrapped a couple posts--at ground level--- in tar paper but it proved cumberson so I graduated to plastic and even put some posts in garbage bags before I planted in the hole.
Ten years later, I still had posts so I'd say it worked.