From Wikipedia:
Paul et Virginie (or Paul and Virginia) is a novel by Jacques-Henri Bernardin de Saint-Pierre, first published in 1788. The novel's title characters are friends since birth who fall in love. The story is set on the island of Mauritius under French rule, then named Île de France. Written on the eve of the French Revolution, the novel is recognized as Bernardin's finest work. It records the fate of a child of nature corrupted by the artificial sentimentality of the French upper classes in the late eighteenth century. Bernardin de Saint-Pierre lived on the island for a time and based part of the novel on a shipwreck he witnessed there.
Paul and Virginia are raised as brother and sister by two widows. Both mothers agree to marry the two children when they are old enough. Virginia's aunt proposes to send her niece to France. Virginia accepts, though she is heartbroken to leave Paul, whom she loves. Two years later, she sails back to Mauritius Island, but her ship is pushed against reefs by a tempest and Paul fails to save her. Shortly after, he dies from grief.
https://en.wikipedia.org/wiki/Paul_et_Virginie