It's not a futile fight. Eat in a calorie deficit, understand your food. Eat more protein, move more. A lot more. Lift weights and build muscle so your body burns calories even while you're sleeping.
Give it time. Gym is never the problem. Lifestyle is.