Original: As such, they considered themselves to be in a state of war with Mecca and raided Meccan caravans.
Simplified: They considered themselves to be in a state of war with Mecca and raided Meccan caravans.