When G-d sees public prayer G-d does not reject that prayer.
When a community asks for something this is more powerful than an individual asking for something.
The power of community responds in a different way.
This is why community is so important.
Without community it is harder to live a G-dly life. We are out on limb by ourselves. However, within a community we (I) are connected to the individuals within the Synagogue and this strengthens us (me) to with stand the temptations that come our (my) way.
This holds me accountable for my actions.
Connected to a community means I will make commitments to serve and honour G-d and Hashem’s community.
A very important side note one who attends the Synagogue on a regular basis lives longer.