Individual worship and group worship

Introduction In two different places in the Gospel of Matthew, two phrases about prayer appear that seem to contradict each other. In the Sermon on the Mount