Depend on your interest and also on which area u want to specialize in, like in IT security, will earn more money but also u need to take into account of the working hours.
For teacher, what kind of teacher you want to be? IT teacher like lecturer/prof in poly or
ITE or university?
In order to determine which one is better, I believe is see which one you like to do
do you like to teach? or you prefer to work on projects. because both path are good to me if you have interest, because if you have interest, you can go up higher which meets you earn more money goal.