Complex sentence: They all gave her the courage to move on and stay strong, and if she didn't have her family or her friends to help her, she might have just given up.
Split into simpler sentences: They all gave her the courage to move on and stay strong. If she didn't have her family or her friends to help her she might have just given up.