Researchers from multiple Universities have used fossils and genetics studies to map out the origin of today’s house cats. They determined that domesticated cats emerged around first around 10,000 years ago in Turkey.
Years later, cats with slightly different genetics became mainstream in Egypt where they were bred to be more tame. Human farmers saw the natural benefit of having wild cats around because they killed harmful rodents, so they invited them into their homes. Today, house cats are likely a genetic blend of the cats that emerged out of Turkey and the cats that emerged out of Egypt.

https://www.sciencemag.org/news/2017/06/ancient-egyptians-may-have-given-cats-personality-conquer-world