Adam enjoyed divine health and every need met before he sinned.

All he had to do was to obey God's command to stay away from the Tree of the Knowledge of Good and Evil.