It would have depended on how much they gave him. There is no indication that is was a substantial amount. In fact, the men themselves were most likely traveling astrologers, and not royalty, so the amount they gave might have been limited based on desire or availability. It may have been that Mary and Joseph found the gifts to be unclean because of where it came from and did not use them. We really do not have enough information to make a logical conclusion on the matter, but there are several possibilities of why they still needed to have secular work.
Myrrh, Gold and Frankincense
Gold, Frankincense and Myrrh.
Gold, frankincense and myrrh
They gave Jesus gold, frankincense and myrrh.
gold, frankincense and myrrh
He received three: gold, frankincense, and myrrh.
They bought Gold, Frankincense and Myrrh for Jesus' birth.
Gold Frankincense Myrrh
Gold, frankincense, and myrrh. Myrrh is an expensive herb and frankincense is similar to incense. These were all very valuable gifts at the time and made a strong statement about both the giver and receiver.
The gifts of gold, frankincense, and myrrh brought by the three wise men symbolize the wealth, divinity, and mortality of Jesus Christ. Gold represents his kingship, frankincense symbolizes his divinity, and myrrh foreshadows his death and sacrifice.
They rode on Camel's, and gave Frankincense, Myrrh, and Gold as Gifts
Jesus was given frankincense and myrrh as gifts because they were valuable and symbolic offerings traditionally given to honor a king or deity.