LOL, being oppressive, they need weapons to oppress their people! & by "weapons" we might include every institution from cops, the military & judiciary organized for oppression. They will all need weapons not only to oppress but to counter inevitable uprisings & counterviolence against the oppression.
Oppressive regimes prioritize weapons to maintain control through fear and suppress dissent. Investing in military power helps them deter both internal uprisings and external threats. People's welfare is often neglected, as empowered citizens may challenge their authority.