Disclosed are substituted benzimidazole compounds of formula (I) wherein R1, R2, R3, R4 and Xa are defined herein. The compounds of the invention inhibit Itk kinase and are therefore useful for treating diseases and pathological conditions involving inflammation, immunological disorders and allergic disorders. Also disclosed are processes for preparing these compounds and the pharmaceutical compositions comprising these compounds.