What type of figurative language is this statement? The birthpain of our nation

The statement "The birthpain of our nation" is an example of metaphor. Metaphor is a figure of speech that compares two unlike things by saying that one thing is the other. In this case, it compares the struggle and difficulties experienced during the birth of a nation to the pain endured during childbirth. It suggests that the formation of the nation was a challenging and transformative process.