Except that consulates (run by the MFA not Immigration) require funds to be in a bank account, and immigration requires funds to be in cash. The most cited reason for denial of entry is 12.2 Having no appropriate means of living following entrance into the Kingdom. There is a good chance the OP did not have the required 20k in cash on him, and was legitimately denied entry.