Create in me a clean heart, O God, and renew a right (or steadfast) spirit within me.
In my daily Bible reading recently I was reading the story of Joseph as we have it in Genesis from chapters 37 to 50. At one point in his story Joseph was put in a very difficult situation when the wife of his master tried to lure him to have sex with her. Joseph did the right thing and got out of the house as quickly as he could and told the woman he would have nothing to do with her as far as sex was concerned. It can be easy to get into situations where temptations to sin can be strong, whether these have to do with sex or any other sin. At this time of year the temptation to drink too much can be very strong as many people treat the end of the year as a great excuse for all sorts of 'goings on' they may afterwards regret.
In the New Testament we are told to 'flee' from temptations (1 Timothy 6:11), and to 'resist the devil' and then he will 'flee' from us (James 4:7). David, who wrote Psalm 51, knew how easy it was to give in to temptations and he had to confess his sinfulness. That is why he asked God to create in him a clean heart. Only God can do that. (The word 'create' here is the same word which tells us God created the world). We need God to help us overcome temptations to sin and to give us a heart that is faithful to him. Be sure to ask God to help you overcome temptation to do anything you may later regret.
‘Create in me a clean heart, O God, and renew a right spirit within me. ' Amen.