Yes, the wrong kind of exercise is pretty useless. Go to any gym, where do you see the people with the most body fat at? The treadmills. For months my gf would not listen to my advice on working out. For months she made little to no progress. Until one day I finally said to her, go to your gym today. Tell me where the most overweight and out of shape people are. She came back and said the treadmills.
Exercise is most effective if you’re also building muscle. Muscle mass is harder to maintain and basically increases your metabolic rate without even doing anything. Not saying walking and jogging isn’t good for you and you should never do it. But all exercises are not equal and effective to what you’re trying to accomplish. For example, I would never tell a basketball player to jog 5k for conditioning. It’s stupid. Basketball is a sport that requires short spurts of explosive movement follow by little to no movement and everything in between. So why would a basketball athlete jog around? He doesn’t jog in a game. He sprints, jumps, cuts and slowly holds positioning. So you need to know what you’re trying to do and not just aimlessly exercise.