Suppose a box contains 4 tickets labeled by
112 121 211 222
Let us choose one ticket at random, and consider the random events
A={1 occurs at the first place}
B={1 occurs at the second place}
C={1 occurs at the third place}
P(A)=1/2 P(B)=1/2 P(C)=1/2
AB={112} AC={121} BC={211}
P(AB)=P(AC)=P(BC)=1/4
So we conclude that the three events A, B, C are pairwise independent.
However, ABC is an empty set and
P(ABC)=0
but
P(A)P(B)P(C)=1/8.