with wishes that people can escape from infectious diseases and famine
『大仏は、疫病や飢饉から逃れられるようにとの願いを込めて建てられました』ならば、
The great statue of Buddha was built with wishes that people can escape from infectious diseases and famine.
で表現できると思います。
お役に立てたらうれしいです。
It was built with the hope of protecting people from disease and famine.
こんにちは!
ご質問ありがとうございます。
ご質問について、いくつか言い方が考えられますが、例えば、
It was built with the hope of protecting people from disease and famine.
とすると、「疫病や飢饉から人々を守ってもらえるよう[願いを込めて](https://eikaiwa.dmm.com/uknow/questions/1671/)建てられました。」となります。
役に立ちそうな単語とフレーズ
disease 疫病、病気
famine 飢饉
with the hope of ~ ~を願って
参考になれば幸いです。