but when his brothers had gone up to the feast, then he also went up, not publicly, but as it were in secret.

Please write the text above using proper case.
But when his brothers had gone up to the feast, then he also went up, not publicly, but as it were in secret.