This is not necessarily true. The most healthy diets on the planet are heavily plant-based, you can actually easily consider them vegetarian because the meat and dairy intake is very low. Without regular exercise eating extra protein will not increase muscle mass, otherwise we would not have so many people not being able to move after longer periods of immobility or after injury, because it would be enough to feed them extra protein, problem solved. Muscle tissue is expensive to maintain so if it’s not in use, why invest? The same with bones - as we age we do have extra calcium in the system, such as calcifying arteries, but weight bearing exercise (such as walking) helps to keep it in the bones.
Dietary guidelines of most countries list about 50% of carbs, which is absolutely possible to eat in a healthy, balanced diet and lose weight. Green leafy vegetables, the whole brassica family, pulses, seeds, fruits and grains are all carb-heavy so having macros like 50/20/30 (carb/protein/fat) doesn’t mean stuffing yourself with pasta and bread and potatoes.
In many Asian countries the consumption of meat is much lower than in Europe and the consumption of dairy is minimal, they get more protein from plant sources than us. Obesity rates are much lower despite higher carbs.
I have cut my meat and dairy consumption to two-three times a week for ethical, environmental and budget reasons in 2021. We only eat meat we buy directly from the farmer who has a herd of organic cattle grazing outside all year round. Buying 1/6th of a cow in one go is expensive so we only do it once a year for a family of four. This reduced my protein intake, not drastically but significantly. Despite eating more carbs from plants when I decided to lose weight I ended up lean and toned, I have visible muscles all over my body, which I attribute to strength training, karate and running.
Of course it’s just anecdotal evidence from one person who never yo-yo dieted, and sometimes I eat so much tofu that I go over 20% of protein in my diet but it’s my experience and maybe it can help someone overhaul their diet.