I think the proverb means that. You need to take classes in architect ( or some education ) to learn how to build houses and by understanding if it's firm on a base. By knowledge the rooms are filled with all precious and pleasent riches. Like a designer, you need to know about design. The proverb is basically about how you need knowledge to do both of these things.