No, as an inanimate object it wont scare away pests, maybe crows.
Garden gaing balls are desinged to scare away birds and other pest.
Fences, nets, and repellants are used to keep garden pests away. They help in keeping pests such as birds, squirrels, opossums, and even certain insects away from the garden.
Loud noises will get rid of most bird pests, but if you have neighbors, you could try trapping and relocating birds. Reduce items such as water and food sources that would attract birds. Balloons or reflective streamers can also scare birds away.
Garden snails !!
Termites
Coffee grounds can be used for pest control in the garden by spreading them around plants to repel pests like slugs, snails, and ants. The caffeine in coffee grounds acts as a natural deterrent for these pests, keeping them away from your plants.
They eat pest insects that would harm your garden.
To keep pill bugs away from your garden, you can try reducing moisture levels, removing debris and clutter where they can hide, and using barriers like diatomaceous earth or copper tape. Additionally, you can plant pest-resistant plants and avoid overwatering your garden.
arachnid ant aphid
slug, i think!
You can try Fertilo which is a very organic pesticide. There are plenty of other means that can keep you and your garden safe from pest.
It would help but no it can't completely keep it pest free