Does the Bible give us a purpose to life? I'm not sure that I know of any place in the Bible that directly states, "this is the purpose to life." But does it give us any idea as the exact purpose as to why we were created.

If God is truly Sovereign then he did not Need us for any reason, so why did He create us? Please provide scripture in your answer.
The Westminster Shorter Catechism has as its first question:


  What is the chief end of man?


and the answer provided (with references):


  Man's chief end is to glorify God, [a] and to enjoy him for ever. [b]


[a]. Ps. 86:9; Isa. 60:21; Rom. 11:36; I Cor. 6:20; 10:31; Rev. 4:11
[b]. Ps. 16:5-11; 144:15; Isa. 12:2; Luke 2:10; Phil. 4:4; Rev. 21:3-4