Some exercises are far more effective and efficient then others. but, the exercise you will actually do is always more effective then the one you get bored with and stop doing.
Weights, hiit, swimming are best.
Biking, running, hiking, etc less so.
But, you do have to keep doing them...