Professor Jason Leitch, National Clinical Director of the Scottish Government, said the unprecedented directive will save lives during the Coronavirus crisis.
Prof Leitch is a committed Christian and urged people to seek solace and strength in their faith.
He said they should come together and worship God online.
The public health expert is encouraging people to do what they can to help the most vulnerable in society, while taking sensible precautions to avoid contracting or spreading Covid19.