Why did the slaves defend their owners and many were very loyal to them?

Why did the slaves defend their owners and many were very loyal to them? and why so many more were ready to leave their captive households hoping for a better life.