Provided are novel benzenesulfonamide compounds that inhibit calcium/calmodulin-dependent protein kinase II (CaMKII) and pharmaceutical compositions containing the benzenesulfonamide compounds. Also provided are methods of using the benzenesulfonamide compounds to treat diseases or conditions that are associated with CaMKII activity, such as a flavivirus infection.