To see a scarab in your dream symbolizes your ability to survive, adapt, and change. You are on the right path. Or it may be indicate your anxieties about death and aging. Alternatively, the scarab represents the sun, resurrection, and immortality.
In a dream, a scarab represents vileness, a despicable nature, or mixing with lowly people.