If the distance between the two object increases, then the force between them decreases.
In fact, the formula is

we can see that the distance d is at the denominator, therefore when d increases, the value of the fraction decreases, and so the gravitational force F decreases as well.