What you're referring to, is the basic concept of thermodynamic calorie in/calorie out. Yes, you can "just" reduce food and lose weight if you hit deficit numbers.
But if you don't do it correctly, you'll feel like trash, you'll suffer bad cravings, and put yourself in a stressful mental situation for days, possibly putting your job at risk.
You have to:
- Eat less than what you're already eating
- But enough to nourish yourself so you keep being in good shape for your work and hobbies
- Manage hunger
- Make the change sustainable so you can keep doing it for the rest of your life.
It's specially hard when your work is entirely sedentary, you live alone and, ironically, when you have a salary that let's you order food every day.
A lot of people don't have it hard. Maybe because they have someone cooking for them at home, because they meal prep the entire week, or because their work is so physically intensive they can just wing it and burn everything with what they need to do for a living anyway.