NPN transistor won't saturate when Vcc is greater than 7 volts
It's pretty easy to get the wrong pin diagram using a random datasheet for the generic "2N2222 part.   There was a time, when these were not consistent and it seems even now, there are different datasheets 



There were many reasons for this, which may be shared by esteemed colleagues.