* For: This is a preposition, indicating purpose or reason.
* Contented: This is an adjective, describing a state of being satisfied and happy.
Therefore, the phrase "for contented" is used to describe a purpose or reason for achieving a state of contentment.