Moses did his fair share of complaining too when he was leading the Israelites through the desert. Life is hard and God can handle all of our emotions. I agree with the Pope on that issue, but letting bitterness take root is not wise nor is it wise to encourage others to do so.
The key is, you shouldn’t just snarl at God then storm away, not caring what you hear back.