Chicago safe areas

I need some help pls.. me & my husband planning to move to Chicago & buy an apartment but we have no idea where.. so my question is what are the safe & best areas to live in Chicago? Im 31 & my husband is 27. We’re about to start a family. Thank you for any answers.