The kanji:
自 = oneself
主 = main
独 = alone
立 = standing
This is a special kind of Japaneses idiom known as a 四字熟語 (よじじゅくご、yo-ji-juku-go), or 4-character idiom. As the name suggests, these are idiomatic phrases made of 4 kanji characters.
They often contain a small life lesson or moral message, similar to English sayings such as “you reap what you sow” and “the early bird gets the worm”.