David wrote this Psalm at a time when his own son betrayed him and even sought to kill him. However, we know that this was a human relationship between a father and son, men who were flawed at their core. Yet, it is a picture of how God must feel when the sons He created, you and me, reject Him.