Did God allow the Jewish and Christians to drink alcohol and only banned it in Islam? Or was alcohol also impermissible in the early religions as well from the Islamic perspective?

And if they were allowed to drink it, then why did Allah allow them alcohol but not in the religion of Islam? Considering all religions are from the same God, it doesn't make sense?