<?xml version="1.0"?>
<ownershipDocument>

    <schemaVersion>X0306</schemaVersion>

    <documentType>4/A</documentType>

    <periodOfReport>2022-10-07</periodOfReport>

    <dateOfOriginalSubmission>2022-10-12</dateOfOriginalSubmission>

    <issuer>
        <issuerCik>0001865174</issuerCik>
        <issuerName>Goldman Sachs Middle Market Lending Corp. II</issuerName>
        <issuerTradingSymbol>NONE</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001899391</rptOwnerCik>
            <rptOwnerName>DILL BARKLEY KAROLE</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1></rptOwnerStreet1>
            <rptOwnerStreet2>200 WEST STREET</rptOwnerStreet2>
            <rptOwnerCity>NEW YORK</rptOwnerCity>
            <rptOwnerState>NY</rptOwnerState>
            <rptOwnerZipCode>10282</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>true</isDirector>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock, par value $0.001 per share</value>
            </securityTitle>
            <transactionDate>
                <value>2022-10-07</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>P</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>1361.3666</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>18.3639</value>
                    <footnoteId id="F1"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>4385.5808</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">This amendment is being filed to update the disclosure in Table I, Columns 4 and 5 in the Form 4 previously filed on October 12, 2022 by the reporting person in order to disclose the amount of securities acquired, the price of securities and the amount of securities beneficially owned following Ms. Dill Barkley's $25,000 capital contribution. The sale closed on October 19, 2022. When Ms. Dill Barkley's Form 4 was initially filed on October 12, 2022, the amount of securities acquired was not calculable.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Edward Meehan, Attorney-in-fact</signatureName>
        <signatureDate>2022-10-21</signatureDate>
    </ownerSignature>
</ownershipDocument>
