This is completely false.
Legal Medications can come with many risks.
For example, oxycodone, a painkiller, is very similar to heroin in the risk of addictiveness as well as abusability.
The same being with amphetamines (adderall/dexedrine) to meth.
Just because it is legal, does not mean it is any safer or more dangerous.