then finrod was filled with wonder at the strength and majesty of menegroth , its treasuries and armouries and its many-pillared halls of stone ; and it came into his heart that he would build wide halls behind ever-guarded gates in some deep and secret place beneath the hills .