The same happened to the tribes of ' Ad and Thamud : this must be clear to you from their ruins . Satan made their actions seem good to them , and turned them away from the straight path , even though they were intelligent people .