A woman accused of murdering her parents prayed to God and said she had "sinned twice" minutes before an interview with detectives, a court has heard.