A Wiltshire murder suspect told police officers she “didn’t mean to hurt” a man allegedly stabbed to death, a court heard.