Many people believe that taqwah is fearing Allah. Taqwah also means protecting yourself. You should fast to protect yourself.
Allah ordained fasting on us just as He ordained fasting on the people before us. Fasting it to build taqwa and it was also meant to build the taqwa of the people before us.
If you think about how people train for the army or as police officers or firemen, it is to protect themselves against dangerous situations. The same is said for fasting. Fasting will protect us from bad situations that we may face.