These countries measure processes in decades. Their rulers are not up for election. They can go through huge (sometimes futile), multi-year projects and processes which would not survive any regime change in the west. They are willing to pay a price to assure their independence from Iranian influence - they pushed and encouraged this war in the first place.