The proof that i came up is as follows.
Assume any non prime positive integer${}> 1$ will have factors of either $2,3,5$ or a combination of them. Let $S$ be a set of sets where each set conatians a combination of $2,3,5$ $S = \{\{\}, \{2\}, \{3\}, \{5\}, \{2,3\}, \{2,5\}, \{3,5\}, \{2,3,5\}\}$ Since $|S|$ is $8$ and there are $9$ positive integers, by pigeonhole-principle, some two of them should share all of their prime factors that are less than or equal to $5$.
Is my reasoning correct? I am specially concered about whether my assumption of "any non prime positive integer $> 1$ will have factors of either $2,3,5$ or a combination of them" is correct