とはかぎらない
towa kagiranai

Expression

1. not necessarily so; is not always true; there is no guarantee that ...; there is no telling

偉人いじんかならずしもかしこいとはかぎらない。
ijinga kanarazushimo kashikoitowa kagiranai.
Great men are not always wise.