Jesus compares scribes, who know very well the scriptures that Moses and the prophets wrote, and who also now accept Jesus’s teachings, to a house owner who uses both old and new treasures.
A treasure is a very valuable and precious thing or a collection of things. Here it may refer to the place where these things are stored, the "treasury" or "storeroom."