According to the earliest official accounts , the eighth-century Kojiki ( Record of Ancient Matters ) and Nihon-shoki ( Chronicles of Japan ) , the islands of Japan were born of a marriage between the god Izanagi and his sister Izanami .
Izanagi was a naive fool for marrying his sister .