Dogs were popular in Egypt because of their beauty, kindness, loving, caring personally. Dogs in Egypt were popular also because early Egyptians believed that Anubis their god was half dog half human.
In ancient Egypt they believed that when you die you go to the after life. That you would need all your organs and riches and pets and even slaves so they killed some of their slaves. They also mummified their pets with them.