Adding an electron withdrawing group onto the 6‐position (located on the β‐lactam ring) amide group can increase its acid stability by making the amide oxygen less nucleophillic as in amoxicillin. This ensures that the amide oxygen will not attack the β‐lactam ring's
carbonyl group to open it