God saw to it that the Egyptians liked the people. Also, Moses was greatly admired by the Egyptians, a respected public figure among both Pharaoh's servants and the people at large. Exodus 11:3 (MSG)
I have long been intrigued by the idea of God's "favor." Growing up, I noticed that there were many capable children in my class, but every once in a while there was one or two who seemed to have "favor" with the teachers, adults, and their peers. It wasn't that they were rich kids. It wasn't that they came from powerful families. It wasn't that they were particularly smarter or more gifted than other kids. They weren't even brown nosers. Nevertheless, you could see that they had a certain affinity with those around them.
As I read through God's message, I see a tiny thread woven through the fabric of the story. There is a string of God's favor that is given to certain individuals at certain times that God's purpose can be accomplished. Abraham had it with his neighbors. Jacob did, as well. Moses had it with the Egyptians. David had it with the people, as did many of the leaders in the book of Judges. I don't believe favor can be acheived by effort, nor can it be attained through some recipe of our own desire and good works. There is something much deeper and more spiritual involved.
Like Jabez, however, I believe we can seek God that He might grant us His favor at the right time and place to accomplish His purpose in us.