What are the preventive measures for child labor?

i think the single most important thing to help stop child labor is first and foremost:
1.)the government should make it illegal and punish the parents who send children to work and employers should be punished too.
2.)the government should alleviate poverty. when people or parents are not that poor they won't let their children work just to make ends meet.
3.)the government should make education more accessible or if possible free to the poorest of the poor. when people are educated they will value it.