Need to make sure whether this is the correct usage of a NPN transistor

The NPN transister will convert the 12V input to a 5V arduino input. I hope.