It was very likely that this novel was " I Will Promise You a Prosperous Life ". The female protagonist was a transmigrator, and the male protagonist was the emperor. In the beginning, the male protagonist was very good to the female protagonist, and later on, he always doted on her. This novel was an ancient romance novel. I hope my recommendation can help you find this novel. If you like it, don't forget to collect it!😉