To dream of scarab, means that you are able to adapt and absorb different or difficult situations you are in. The scarab is also a symbol of everlasting life, therefore it could indicate the fear of getting old or being dead.
Dream dictionary: Scarab dream meanings
(Dung beetle | Evil spell | Charm) In a dream, a scarab represents vileness, a despicable nature, or mixing with lowly people.