Why in the fourth century BC did the Macedonian kings manage to mend the city-states of Greece and conquer the Persian kingdom?

There are several reasons for this state of affairs:
1) The Macedonian kings possessed great power and ambition;
2) King Philip 2 was able to create a new branch of the army – the Macedonian phalanx, which was one of the most formidable troops in ancient times;
3) The outstanding abilities of the Macedonian commanders made it possible to defeat the Persian troops.

One of the components of a person's success in our time is receiving modern high-quality education, mastering the knowledge, skills and abilities necessary for life in society. A person today needs to study almost all his life, mastering everything new and new, acquiring the necessary professional qualities.