I take my country for instance gambling is prohibited by law but again football betting is allowed and is even advertised on national television stations.
How about you take a deeper look at your country's gambling laws? There are different rules per jurisdiction. Some allow land based casinos to operate since it's regulated but prohibits online gambling. Some allow all except sports betting.
Yes, exactly. I don't believe there is a country that prohibits gambling but permits football betting specifically. The OP must have got something wrong, so it would be best for him to do more thorough research on what is allowed and what is not in his country.