I can buy a bag of apples for less than what a pack of Little Debbie snacks cost.
I decided to check one of my local grocery stores because I honestly wasn't sure where they stood relative to each other.
Most Little Debbie varieties, for a standard package containing 6 or 12 items depending on the size of the items, are listed at $3.19.
Apples are commonly sold in 3 pound bags, which the internet suggests would contain 6-12 apples depending on the variety of apple and individual sizing. The 3 pound bag seems like a reasonable comparison to the standard Little Debbie packages, as it's 6-12 "snacks" in either case.
The cheapest option is Red Delicious at $3.99. You can spend up to $6.99 for 3 pounds of a more premium variety.
Little Debbies cost $0.26 to $0.53 per snack. Cheap apples are $0.33 to $0.66 per.
The advantage is also present with larger quantities. A large package of Little Debbie snacks costs $5.49, and a 5lb bag of Red Delicious apples costs $5.99. You're getting 2x the Little Debbie snacks in the larger package, but you're only getting 66% more apples in a 5lb bag.
At the larger quantity, LD's per snack price range is $0.23 to $0.45. Red Delicious apples are $0.30 to $0.60.
You're probably not living off either.
Deserts are visible - obviously a pack of Little Debbies has no nutritional value and is purely excess calories - but what fraction of your total calories are coming from deserts? The real issue is excess calories in your regular food consumption, such as large portions. Indeed, if your meals were filling you, you probably wouldn't even be snacking to begin with. When comparing things like bread and butter, the ultra processed versions are much cheaper. In absolute calorie terms they have lower sticker prices, but they also genuinely appear to be better value: you can get significantly more volume of food, and it will last substantially longer meaning you can buy in bulk, reduce the amount of time you spend grocery shopping, and spread purchases out to better align with when money is available. More often than not they also require less time and effort to prepare good tasting meals.