Which is more important to build? Prioritize economic development or strengthen the military? An answer like this depends on the conditions of a country. There's a lot about that. Cannot separate even sociological and historical factors from the formation of the doctrine of a state.
Hence, the Heinz kingdom was no exception at all. However, because the government system adheres to an absolute monarchy, all policies, whether related to the military or otherwise, highly depend on the reigning king. No one can go against his will. So, good or bad, a kingdom is reflected in the behavior of its king.