Again it might have been worth asking questions as opposed to making assumptions.
I am actually very aware from general interest that suicide is a listed side effect of many mental health medications. I am also aware of the discussion around this research. That is suicide rates are higher in those with serious mental illness and you don't medicate those without mental health difficulties with these kinds of medication. Therefore It is very hard to formulate an ethical trial to actually prove conclusively whether the higher suicide rates are directly as a result of the medication or, with apologies for the appallingly callous phrasing, inevitable anyway. Correlation does not always mean causation, is does mean it has to be included in the side effects list.
I'm also aware of the research that states in cases of minor depression, daily exercise is proven to be as effective as medication. Anecdotally that exercise is the best treatment for some( but definitely not all) types of depression has been suspected for at least twenty years. Actually my 16 year old daughter knows this too. Not all of us are that clueless about mental illness.
Of course the reason why you are prescribed the medicine is absolutely central. a dose for low mood maybe different than one for psychosis, with potentially very different side effects and potentially very different risks if you chose not to take it.
Also people can be suicidal for very different reasons, if the primary diagnosis was depression, that still doesn't mean the medication is necessarily wrong.
Before evangelising on the internet, it's well worth asking questions first. Especially when it turns out the person you are preaching to seems to know a hell of a lot more about mental illness generally. When you are taking a thread off the remit of the original post, it is worth asking if that is appropriate first. When you get the polite nudge that actually your circumstances aren't relevant, it might be worth quietly slipping away or even starting your own thread on the relative merits of social prescribing vs medicinal prescribing as opposed being desperate to prove you were right. Knowing when to apologise instead of doubling down is quite a skill.
Personally I dont consider is encouraging strangers on the internet to stop taking prescribed medication advisable or admirable. You will not likely to be dealing with the fallout if actually that medication is very much needed.