We propose a scheme of single-pixel imaging through scattering media employing an all-dielectric metasurface, which provides the functions of circular polarization multiplexing and random sampling for single-pixel imaging simultaneously. The former and latter functions are implemented through focusing two orthogonal circular polarization lights with different focal lengths and relative displacements of the metasurface, respectively. Numerical simulations are performed to demonstrate the performance of the metasurface. Whereafter, we simulate the target images projected onto the metasurface and single-pixel imaging reconstructions with these simulated sampling patterns by using the Monte Carlo method, thereby verifying the proposed approach. This technology holds significant potential for applications in microscopic imaging and biological tissue recognition.