When we are afflicted, suffering, or in trouble, God tells us what we should do: come before His presence and pray. Why? For one thing, it may just be that God will remove that problem because of our prayers. That is not to say that God will always take away our afflictions, suffering, or troubles; but sometimes He does.