Yeah, generic medicines are usually thought to be safe and effective, so long as they meet the required quality, safety, and manufacturing rules.
A lot of folks ask this exact thing, like, can a generic medicine really give the same results as a branded one? It comes up a lot, mostly because generic medicines are usually priced way lower. Still, “cheaper” doesn’t automatically mean “weaker,” or less reliable. In most situations, generic medicines work just as safely and effectively as the brand, because they have the same active ingredient and the same strength, plus the same dosage form, and basically the same intended purpose.
To make sense of it, you kind of have to know what the “meaning of generic medicine” really is. A generic medicine is basically a medication with the same active ingredient as a branded medication, and it is developed to treat the same condition, in the same general way. The differences you notice are usually the brand name, the outside packaging, and, yeah, the cost.