For the intention of Tayammum to be valid, the person must intend either purification, the permissibility of prayer, or an act of worship that is invalid without purification.

Dry Ablution (التيمم): Validity Conditions & Permissible Earth