These words are not related to any particular system of belief (unless by coincidence). In order to help myself through rough times, I wrote the following passage to remind me how to treat myself and others. 

give encouragement,  have patience,  seek understanding,  you will find forgiveness and acceptance