I think what is being alluded to is the passage in which Jesus teaches not to make a show of praying in public, in order to impress others. Rather, one should pray "in secret, so that the Father, who is in secret, will hear" one. The poster is misunderstanding the passage. The operative clause here is "in order to impress others." In other words, "don't pray just to show others how pious you are; let your prayer be earnest."
God never says that God doesn't desire our prayers. Jesus says not to pray in order to impress other people. Historically, those of the Judeo/Christian faith have always prayed in special places, be they outdoors, a tent, or a building. In fact, anciently, God was seen as actually living on the holy mountain -- so God was perceived as having a specific "dwelling place." Later, the temple housed the Ark of the Covenant, in which God dwelt. To extend the symbolic "house of God," the Christians later came to see God as specially dwelling within the sanctuaries of their buildings.