Consider how merciful and lenient was the messenger of Allah, salllaAllahualihiwasallam, with the children. Stick to his Sunnah, do not you ever talk harshly to a child in a mosque or harm him, let alone neglecting educating him according to the Sunnah.