What is it that you want to archive? For loops can usually (and should) be avoided, since there are better constructs.
In your example, it looks like i and j always have the same value, so one of them is redunant. If this is not the intention, but you want all pairs of combinations,
then you can use Do: