Why did they create Rosie the Riveter?

Rosie the Riverter was created as a sort of role model to encourage women on the homefront to help with the war effort.