Their original religions appear to have been shamanistic, but they were increasingly influenced by Chinese culture, particularly Confucianism and Taoism. In the 4th century, Buddhism was introduced to the peninsula and spread rapidly, briefly becoming the official religion of all three kingdoms.
If people are the same religoune they have one less thing to fight about and they get along better, i hope this helps