the spoil system was when the president gives his voters government jobs.
Why does anyone reward his supporters, if he can? Because you are thankful for their support and want to please them and repay a debt to them . (more cynically) Because you hope for their continuing support.
Andrew Jackson was the first president to be strongly criticized for this practice and so was the first to be pressed to actively defend it. He was the first President who not a member of the Eastern establishment and so he did considerably more "house cleaning" than his predecessors had done.
Before Civil Service, the president had the power to appoint the people that filled many government jobs even low ranking ones. Jackson replaced most of the previous presidents' appointment with men who had supported him in his election bid.
He believed that almost any one was qualified to hold federal jobs and saw no reason to reappoint people who had been appointed by past presidents who were unfriendly to Jackson. He also thought it a reasonable way to reward people who had helped elect him and so filled government jobs with common citizens who had helped to elect him.
When he took office rather than reappoint the bureaucrats already in office,as had been the custom , he appointed people he was acquainted with, He believed almost anyone could do the work and he wanted to reward people who had helped him in some way,
not long after the nation's Founding
I do not think that anyone thinks the spoils system is a good idea, surely not Jackson. However he did think that 4 years was about the right time for a civil servant to keep his job and public servants should be rotated, lest they become corrupt. Jackson became president at a time when the previous party had been in power for a long time and so he thought was time to "clean house'. He removed a lot of the old Republicans who thought they were fixtures and their protests led to the charge that Jackson was in favor of the spoils system. (Nowadays, not so many governments jobs are filled by appointment- we have a civil service systems that fill many lower jobs by merit on examinations,independent of the president.)
Until the Civil Service system was put into the place. The US President filled a large of number of federal jobs , including low-level positions by making appointments. Before Jackson, most of the job-holders were re-appointed when a new President took office. Jackson was elected by his newly formed party and he decided to fill most of the jobs with his supporters as a reward for helping him win election. The phrase, "to the victor belong the spoils", came to mind and the practice of turning over the employees became known as the "spoils system"
the ability of party bosses to reward supporters
Andrew Jackson favored the spoils system because he said it gave more people a chance to serve their government. He was criticized because he replaced many Republican officeholders with Democrats, which obviously made Republicans angry and up for criticism.
There is no historical evidence to suggest that Alexander the Great, who lived in the 4th century BC, initiated major public works projects in order to reward his supporters with jobs. His focus was primarily on military conquest and expanding his empire, rather than on domestic infrastructure.
spoils system