We have to divide the total amount of cookies between the 5 friends in equal parts.
So we do:
Each of the friends gets 5.3 cookies.
We need to divide because we have a total quantity and we want to know what is this quantity divided in 5 equal parts, so the right operation is division.