We have from the question that:
1. The machine can hold 156 water bottles.
2. The bottles were in six-packs.
How many six-packs the machine will hold?
In this case, we need to divide the 156 water bottles into 6 to have the six-pack holders.
Then, we have that:
Therefore, the machine will hold 26 six-packs.
We can check this if we multiply 26 * 6 = 156 water bottles.