Spot on!
By addressing poor education, and upholding good ethics and societal values, the society can prevent the occurrence of war. By educating citizens from a young age on the importance of building and living in a peaceful society, the importance of respecting diverse cultures, and the importance of dialogue to resolve misunderstandings, these children will grow up to be better peaceful citizens and global advocates for peace.
Everything you said, sounded nice but nothing realistic there because you can't stop war from happening. War has always being a part of the human race existence. People have been fighting from the past, countries have been fighting too. It was war that brought colonization and development to some countries. Stronger countries will always want to rule the weaker ones and the weak ones will be looking for a way, they'll be on top and be controlling.
What causes war is greed and hunger for power. Russia wants to control Ukraine, USA wants to control others and so forth. The government of countries causing war all over aren't satisfied with the power that they have, they want to control more land and resources but they're getting a resistance from the country they want to conquer. The easiest way to end all war is for all human race to end and we exit this earth, only then will earth have peace.