Treated Pine Wood is a Procesed Wood that will last for about 20yrs. Plenty of time that will make your life happy, with a great retaining wall.
Post are set closer from one another to prevent the leaning issues over the time.