[noun] + ではあるまいし / じゃあるまいし [na-adj] + ではあるまいし / じゃあるまいし [verb (plain)] + わけではあるまいし / のではあるまいし [verb (plain)] + わけじゃあるまいし / んじゃあるまいし
ではあるまいし brushes an idea aside and uses that as a reason: "it's not as if…, so…". The first half names something that is plainly not the case, and the second half says what follows – usually a scolding, advice or reassurance. It goes straight after a noun or a な-adjective; a verb needs わけ or の first, or ん in the spoken form.
あるまい is the literary "probably is not", and the final し gives the reason.Without し, ではあるまい is a plain guess, "probably is not", and does not lead into a second half.
じゃあるまいし is the spoken form and the one you'll hear. It sounds like a retort or a light telling-off, often from someone older. ではあるまいし is its written form. The everyday, softer way to say the same thing is じゃないんだから.