The ancient Egyptians believed that after they died they would move on to a real place, the Land of Two Fields, where they would spend the rest of eternity. You had to earn your way in by doing good deeds in your lifetime. You needed some luggage. You did not want to arrive in the Land of Two Fields without things to make your afterlife comfortable.
The ancient Egyptians spent a great deal of time preparing grave goods, the goods they needed in their afterlife. They had no doubt they would be assigned jobs in their afterlife. They also believed they could make little clay figures who would magically do their work for them. So they made lots of little clay figures. They also made little toys and tiny articles of beautiful clothing and miniature pots and bowls and anything else they might want in their afterlife.
The ancient Egyptians had a great deal of fun making their grave goods, and showing what they had made to their friends and family before they packed them away. There was much oohing and aahing over grave goods in ancient Egypt.
Grave goods were packed away in big urns, rather like packing luggage for a trip. After they died, these urns, full of the grave goods they had made throughout their life, were buried with them in their tomb.