Either one ,it relays back to what I originally said. Is it wrong for a team to dope to become competitive again vs a rival which outranks it in both areas. Fact is most teams will dope but legal or illegal doping being the question.
Yes it is wrong to use illegal substances. And should be hammered - 5 years first time, life for a second at a minimum. Career ending suspension for a first offence for most riders. Plus the teams and their management to be heavily penalised, to focus the minds of those supposedly in charge of their riders. Loss of World Tour licence for 2 years would make some of the less "interested" management think.
Investment in proper structured training and, for instance, altitude work which does not have to cost a fortune, but requires a large amount of dedication and application. To suggest it is too expensive for €12 million euro budget teams is nonsense. Hotels at altitude can be cheap if you book the place out of season, which is when a lot of the work gets done. What is needed by some teams is a shift in mindset, where the team takes responsibility for rider training, welfare, nutrition, individual programmes and monitoring them (all easy with technology, and does not just say "be at the start of xyz race ready to go in x months". That was the old way, and look where it got "traditional" teams.
Sky and Garmin are examples of changing the paradigm.