Provided herein are methods for treating, preventing, or ameliorating one or more symptoms of a condition, disorder, or disease mediated by a lipid kinase or a protein kinase with benzimidazoles, for example, of Formula I or II, and pharmaceutical compositions thereof. Also provided herein are benzimidazoles, and pharmaceutical compositions thereof; and methods of their use for treating, preventing, or ameliorating one or more symptoms of a proliferative disease.