Certain antibiotics, such as tetracycline and erythromycin, inhibit bacterial protein synthesis by binding to the ribosome, thereby disrupting the production of essential proteins and impeding bacterial growth.