Most importantly, the hydrogel with ROS scavenging and pH‐regulating ability protects cells from oxidative stress and induces macrophages into M2 polarization to reduce inflammatory cytokines through PI3K/AKT/NF‐κB and MAPK pathways, exerting anti‐inflammatory effects and reshaping the inflammatory microenvironment, thereby effectively treating typical IDs, including S. aureus infected wound and rheumatoid arthritis in rats. This evidence concerns the gene AKT1 and rheumatoid arthritis.