the hub is a seperate piece from the bearing. They have to be pressed together and apart. On the pressing apart even a brand new bearing will be destroyed due to the tolerances of the bearing on the hub.
This is the wheel bearing assembly
the hub is is pressed into the bearing pocket and has the wheel mounting flange on it as well. It is splined to accept the CV shaft.
My hubs were bent and when I replaced the old wheel bearings with new ones with no slop the bend caused a terrible vibration over 45mph and hitting the brakes would cause violent wobble due to the no floating caliper design and the rotor being mounted to the hub. When I hit the brakes with the bent hub it managed to severely warp the rotors. when I replaced the rotors and pads I found out one of the 4 pots in the caliper on both sides was frozen. So after tomorrow I will have all new parts from the spindle out on the front of my 4runner.
I didnt take any pictures because this should be a fairly straight forward job but I had some severely abused parts that made things a lot worse. With a press available, an impact gun, a 35mm socket, a 17mm socket, and a hammer I could change one of these bearings in about 15 minutes now though. I have had mine apart and back together 4 times now getting all the broken parts fixed.