The two aren't mutually exclusive. You can have magnetism without electricity and electricity without magnetism. Electromagnetism is one source of electricity.
As I stated before: In fact moving two magnets past each other creates no electricity. It creates magnetic flux. Holding a wire between two magnets creates no electricity.
How do you think electricity is generated?