Nah, strength training is definitely important. To lose fat the most important thing is don't eat too much - but strength training during that process would 'tone you up', so to speak, and you'll look a lot better than if you just did cardio/ate significantly less