What is the Islamic ruling on Muslims working in alcohol or gambling industries, and is it obligatory for them to quit if they can’t find another job?

Question

Working in alcohol or gambling industries is forbidden in Islam due to their connection to sinful and harmful activities. Such employment involves supporting sin and wrongdoing, contradicting Islamic principles. It is strongly recommended for those involved in these industries to pursue alternative job opportunities that align with Islamic values. By choosing to abandon these jobs, individuals show their dedication to righteousness and obedience to Allah and may receive blessings and guidance as a result.