In stratego can a spy defeat any piece or only the 10?

Well, any piece beats a flag. Even though the spy is so weak, it still has the right to capture the flag.