Its best not to clean your ears with anything.
The earwax is a healthy buildup to protect your internal ear from damage from anything which could be insects or water among the few things that can damage the internal ear and can cause hearing loss.
It sweeps the dust out of the ear just the same way as mucus cleanses the respiratory passage.
In general cases the buildup is not too much to hinder hearing ability and it comes out itself. But in some cases, the buildup is too much due to some genetic conditions that you need to get the ears cleaned regularly by a professional nurse or a doctor.