So confusing

So, I’m the kind of person who hates long cardio. I’d rather put in the time to lift to build muscle. I have fat I want to lose, just wondering, if I’m lifting more than cardio am I still going to lose fat? Or am I just wasting my time? Seems like I’ve made progress I just wanted to know if there’s a better way