ask not what your country can do for you, but what you can do for your country

Ask not what your country can do for you, but what you can do for your country is another way of saying you shouldnt wait for your country or for others to do things for you, but you should learn to do things yourself. This is also a way of saying your life is what you make it, not what others make it. It has been heard in many famous speeches, including in the movie The Outsiders where he helps his country by telling his story.